summaryrefslogtreecommitdiff
path: root/games/worm/worm.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/worm/worm.c')
-rw-r--r--games/worm/worm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/worm/worm.c b/games/worm/worm.c
index ccf1b1c7f4e..ebd2cadacd9 100644
--- a/games/worm/worm.c
+++ b/games/worm/worm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: worm.c,v 1.7 1998/09/16 00:44:37 pjanzen Exp $ */
+/* $OpenBSD: worm.c,v 1.8 1999/04/20 23:01:13 pjanzen Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: worm.c,v 1.7 1998/09/16 00:44:37 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: worm.c,v 1.8 1999/04/20 23:01:13 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -291,8 +291,10 @@ process(ch)
nh->x = x;
display(nh, HEAD);
head = nh;
- if (!(slow && running))
+ if (!(slow && running)) {
+ wmove(tv, head->y, head->x);
wrefresh(tv);
+ }
if (!running)
alarm(1);
}