summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-08-27 10:17:21 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-08-27 10:17:21 +0000
commit3c533744d0e5b8cb8885fc93a5d8bf23fff4f1cd (patch)
treea17db9afbf7f73630bb5a463ff2b921c38fba390
parentd650cc868f3b776c6aa2ebaf98fa8a9ccdbc81ce (diff)
downloadrockbox-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.c5
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)
1763 1763
1764 button_right=((move_button & RIGHT) || (SCROLL_FWD(button))); 1764 button_right=((move_button & RIGHT) || (SCROLL_FWD(button)));
1765 button_left=((move_button & LEFT) || (SCROLL_BACK(button))); 1765 button_left=((move_button & LEFT) || (SCROLL_BACK(button)));
1766 1766 if ((con_game== 1 && start_game!=1) && (button_right || button_left))
1767 continue;
1767 if ((button_right && flip_sides==false) || 1768 if ((button_right && flip_sides==false) ||
1768 (button_left && flip_sides==true)) { 1769 (button_left && flip_sides==true)) {
1769 if (pad_pos_x+8+PAD_WIDTH > LCD_WIDTH) { 1770 if (pad_pos_x+8+PAD_WIDTH > LCD_WIDTH) {
@@ -1795,7 +1796,7 @@ int game_loop(void)
1795 } 1796 }
1796 } 1797 }
1797 1798
1798 1799
1799 switch(button) { 1800 switch(button) {
1800 case UP: 1801 case UP:
1801 case SELECT: 1802 case SELECT: