summaryrefslogtreecommitdiffstats
path: root/src/GlobalState.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-03 17:47:11 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:33 +0100
commitbdc3f4a198c3f047389b159e67f7e6131e053ea6 (patch)
treec0f473147116e4ba0fed8cfb5f9780982b5a3c8c /src/GlobalState.cpp
parentFixed CMake error (diff)
downloadAltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.gz
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.bz2
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.lz
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.xz
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.zst
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.zip
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;
}
});