diff options
| author | 2lag <96544487+2lag@users.noreply.github.com> | 2026-08-08 17:33:36 +0200 |
|---|---|---|
| committer | 2lag <96544487+2lag@users.noreply.github.com> | 2026-08-08 17:33:36 +0200 |
| commit | 2973df584978d9aae6f164ce0204179c8a28b3ae (patch) | |
| tree | c1b793c8e0d17aeb66c5197bc28acca84b2c98ab /src/game/player.cpp | |
| parent | e540910745aad31378452eec25aacfb3f346191a (diff) | |
console, textbox changes, some other shit
Diffstat (limited to 'src/game/player.cpp')
| -rw-r--r-- | src/game/player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/player.cpp b/src/game/player.cpp index e4c0390..a1dc3b8 100644 --- a/src/game/player.cpp +++ b/src/game/player.cpp @@ -34,7 +34,7 @@ void capture_mouse( PLAYER* p ) { F32* yaw = &p->input.cam.pos.y; F32* pitch = &p->input.cam.pos.x; - if( input.keys[SDL_SCANCODE_F1] ) { + if( input.mouselock && input.keys[SDLK_ESCAPE] ) { input_capture_mouse( 0 ); } |
