From 3c533744d0e5b8cb8885fc93a5d8bf23fff4f1cd Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 27 Aug 2006 10:17:21 +0000 Subject: 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 --- apps/plugins/brickmania.c | 5 +++-- 1 file 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: -- cgit v1.2.3