diff options
Diffstat (limited to 'src/rinput.c')
-rw-r--r-- | src/rinput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rinput.c b/src/rinput.c index 8d94b36..6286eda 100644 --- a/src/rinput.c +++ b/src/rinput.c @@ -68,7 +68,7 @@ static GetCursorPos_func orig_GetCursorPos; static int __stdcall hook_GetCursorPos(POINT *p) { if (!con_getvari(m_rawinput)) return orig_GetCursorPos(p); p->x = dx; p->y = dy; - return 0; + return 1; } typedef int (*__stdcall SetCursorPos_func)(int x, int y); static SetCursorPos_func orig_SetCursorPos; |