summaryrefslogtreecommitdiffstats
path: root/src/GlobalState.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/GlobalState.cpp4
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;
}
});