summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/pong.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c
index a1a1d58593..b88b95bb91 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -246,7 +246,10 @@ void bounce(struct pong *p, int pad, int info)
246 246
247void score(struct pong *p, int pad) 247void score(struct pong *p, int pad)
248{ 248{
249 rb->splash(HZ/4, "%s scores!", pad?"right":"left"); 249 if(pad)
250 rb->splash(HZ/4, "right scores!");
251 else
252 rb->splash(HZ/4, "left scores!");
250 rb->lcd_clear_display(); 253 rb->lcd_clear_display();
251 p->score[pad]++; 254 p->score[pad]++;
252 255