diff options
| author | aura <nw@moneybot.cc> | 2026-02-25 08:58:39 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-02-25 08:58:39 +0100 |
| commit | 3e5e15a4923c752be703d7afb1214d5e5a767fad (patch) | |
| tree | d76049a556bd0fff581a018408faa6bed23b74eb /src/util/input.cpp | |
| parent | 25da8e01a0499c273357cb2feb2825b53e86795b (diff) | |
finish wall collisions (clipvelocity), some utils
Diffstat (limited to 'src/util/input.cpp')
| -rw-r--r-- | src/util/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |
