brickmania: fix scrollwheel use

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23492 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-11-03 08:03:13 +00:00
parent f76b2f2046
commit 00997714ef

View file

@ -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;