summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2019-01-20 04:14:19 +0000
committertedu <tedu@openbsd.org>2019-01-20 04:14:19 +0000
commit3bce2bd62bed50c231c0e561bfba9bc53902af7f (patch)
treeb321a1c77a09180a03e3ef150aac2c120d24d2d9
parentremove some obsolete comments about deleted code (diff)
downloadwireguard-openbsd-3bce2bd62bed50c231c0e561bfba9bc53902af7f.tar.xz
wireguard-openbsd-3bce2bd62bed50c231c0e561bfba9bc53902af7f.zip
printing the pinball bonus in the corner is confusing when you lose.
just let the bonus happen if it does, players will figure it out.
-rw-r--r--games/snake/snake.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/snake/snake.c b/games/snake/snake.c
index ad344a6a954..b7a115fb645 100644
--- a/games/snake/snake.c
+++ b/games/snake/snake.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snake.c,v 1.32 2019/01/20 04:12:58 tedu Exp $ */
+/* $OpenBSD: snake.c,v 1.33 2019/01/20 04:14:19 tedu Exp $ */
/* $NetBSD: snake.c,v 1.8 1995/04/29 00:06:41 mycroft Exp $ */
/*
@@ -822,7 +822,6 @@ pushsnake(void)
surround(&you);
i = (cashvalue) % 10;
bonus = arc4random_uniform(10);
- mvprintw(lcnt + 1, 0, "%d\n", bonus);
refresh();
delay(30);
if (bonus == i) {