git repos / blockattack-game

commit 877b7c65

sago007 · 2016-04-09 09:32
877b7c650287cca2f4bfe1a5772e602dd8d12e6b patch · browse files
parent 706e81fea141f40032c1b20868f3295c74deb135

The right arrow now works in the menu

Changed files

M source/code/MenuSystem.cpp before
diff --git a/source/code/MenuSystem.cpp b/source/code/MenuSystem.cpp index 9d364c1..8efde0e 100644 --- a/source/code/MenuSystem.cpp +++ b/source/code/MenuSystem.cpp
@@ -254,7 +254,7 @@ bool isLeftEvent(const SDL_Event& event) {
bool isRightEvent(const SDL_Event& event) {
if ( event.type == SDL_KEYDOWN ) {
- if (event.key.keysym.sym == SDLK_DOWN) {
+ if (event.key.keysym.sym == SDLK_RIGHT) {
return true;
}
}