From 3e5e15a4923c752be703d7afb1214d5e5a767fad Mon Sep 17 00:00:00 2001 From: aura Date: Wed, 25 Feb 2026 08:58:39 +0100 Subject: finish wall collisions (clipvelocity), some utils --- src/util/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/input.cpp') diff --git a/src/util/input.cpp b/src/util/input.cpp index 284ebfe..1222658 100644 --- a/src/util/input.cpp +++ b/src/util/input.cpp @@ -83,7 +83,7 @@ U8 input_is_key_down( U32 key ) { return input.keys[key]; } -void input_capture_mouse( bool capture ) { +void input_capture_mouse( U8 capture ) { input_reset_mouse_accumulator(); input.mouselock = capture; SDL_SetRelativeMouseMode( capture ? SDL_TRUE : SDL_FALSE ); -- cgit v1.2.3