diff options
Diffstat (limited to 'src/GlobalState.cpp')
-rw-r--r-- | src/GlobalState.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GlobalState.cpp b/src/GlobalState.cpp index c7a36ad..297d5e8 100644 --- a/src/GlobalState.cpp +++ b/src/GlobalState.cpp @@ -114,6 +114,8 @@ void PhysExec() { case SDL_SCANCODE_SPACE: isMoving[GameState::JUMP] = true; break; + default: + break; } }); @@ -136,6 +138,8 @@ void PhysExec() { case SDL_SCANCODE_SPACE: isMoving[GameState::JUMP] = false; break; + default: + break; } }); |