summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/brickmania.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index 9bf4cf2b06..8549d7c1e2 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -1982,8 +1982,8 @@ static int brickmania_game_loop(void)
button_right = move_button & (RIGHT | ALTRIGHT);
button_left = move_button & (LEFT | ALTLEFT);
#else
- button_right =((move_button & RIGHT)|| SCROLL_FWD(move_button));
- button_left =((move_button & LEFT) ||SCROLL_BACK(move_button));
+ button_right =((move_button & RIGHT)|| SCROLL_FWD(button));
+ button_left =((move_button & LEFT) ||SCROLL_BACK(button));
#endif
if ((game_state==ST_PAUSE) && (button_right || button_left))
continue;