summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/brickmania.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index 30b4912c01..ca27df6298 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -1309,8 +1309,11 @@ int game_loop(void)
#endif
}
+ /* Somewhere in here collision checking is done b/w ball and
+ * brick.
+ */
for(k=0;k<used_balls;k++) {
- if (ball[k].pos_y <160) {
+ if (ball[k].pos_y < PAD_POS_Y) {
if (brick[i*10+j].used==1) {
if ((ball[k].pos_x+ball[k].x+HALFBALL >=
brickx &&