From 857e946923b5224053e8c2820456c5fbe404b9d6 Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Sat, 27 Mar 2010 18:23:43 +0000 Subject: Brickmania: Prevent a ball that is sticked to the edge of the pad from being fired outside the screen's region when the pad is moved all the way to the screen's edge git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25357 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/brickmania.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/plugins') diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index a4adcc29d0..13827edb53 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -2272,7 +2272,14 @@ static int brickmania_game_loop(void) for(k=0;k GAMESCREEN_WIDTH - HALFBALL) + ball[k].pos_x = GAMESCREEN_WIDTH - HALFBALL; + } } } } -- cgit v1.2.3