diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-08-27 10:17:21 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-08-27 10:17:21 +0000 |
commit | 3c533744d0e5b8cb8885fc93a5d8bf23fff4f1cd (patch) | |
tree | a17db9afbf7f73630bb5a463ff2b921c38fba390 | |
parent | d650cc868f3b776c6aa2ebaf98fa8a9ccdbc81ce (diff) | |
download | rockbox-3c533744d0e5b8cb8885fc93a5d8bf23fff4f1cd.tar.gz rockbox-3c533744d0e5b8cb8885fc93a5d8bf23fff4f1cd.zip |
Stop the paddle moving whie the game is paused.. AKA cheating
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10765 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/brickmania.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index a76e51203b..106a0f9bf6 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -1763,7 +1763,8 @@ int game_loop(void) button_right=((move_button & RIGHT) || (SCROLL_FWD(button))); button_left=((move_button & LEFT) || (SCROLL_BACK(button))); - + if ((con_game== 1 && start_game!=1) && (button_right || button_left)) + continue; if ((button_right && flip_sides==false) || (button_left && flip_sides==true)) { if (pad_pos_x+8+PAD_WIDTH > LCD_WIDTH) { @@ -1795,7 +1796,7 @@ int game_loop(void) } } - + switch(button) { case UP: case SELECT: |