summaryrefslogtreecommitdiff
path: root/src/game/player.cpp
diff options
context:
space:
mode:
author2lag <96544487+2lag@users.noreply.github.com>2026-08-08 17:33:36 +0200
committer2lag <96544487+2lag@users.noreply.github.com>2026-08-08 17:33:36 +0200
commit2973df584978d9aae6f164ce0204179c8a28b3ae (patch)
treec1b793c8e0d17aeb66c5197bc28acca84b2c98ab /src/game/player.cpp
parente540910745aad31378452eec25aacfb3f346191a (diff)
console, textbox changes, some other shit
Diffstat (limited to 'src/game/player.cpp')
-rw-r--r--src/game/player.cpp2
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 );
}