summaryrefslogtreecommitdiff
path: root/games/battlestar/com7.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2000-07-24 01:02:45 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2000-07-24 01:02:45 +0000
commit87ec33b1645ce0df4e10ca488963124aae5d6aba (patch)
treeb2cb10f1d5707531f8e7d27862afbb1b5bcbe76c /games/battlestar/com7.c
parent6733abcea81310bb15a823e3175256e27b978fa7 (diff)
Rename move() to moveplayer() to avoid clashing with curses;
from mycroft@netbsd.org
Diffstat (limited to 'games/battlestar/com7.c')
-rw-r--r--games/battlestar/com7.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/battlestar/com7.c b/games/battlestar/com7.c
index eb02f15a74a..179107fc9cc 100644
--- a/games/battlestar/com7.c
+++ b/games/battlestar/com7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com7.c,v 1.7 1999/09/25 20:30:45 pjanzen Exp $ */
+/* $OpenBSD: com7.c,v 1.8 2000/07/24 01:02:43 pjanzen Exp $ */
/* $NetBSD: com7.c,v 1.3 1995/03/21 15:07:12 cgd Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)com7.c 8.2 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: com7.c,v 1.7 1999/09/25 20:30:45 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: com7.c,v 1.8 2000/07/24 01:02:43 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -203,15 +203,15 @@ fighton:
puts("You escape stunned and disoriented from the fight.");
puts("A victorious bellow echoes from the battlescene.");
if (back && position != back)
- move(back, BACK);
+ moveplayer(back, BACK);
else if (ahead &&position != ahead)
- move(ahead, AHEAD);
+ moveplayer(ahead, AHEAD);
else if (left && position != left)
- move(left, LEFT);
+ moveplayer(left, LEFT);
else if (right && position != right)
- move(right, RIGHT);
+ moveplayer(right, RIGHT);
else
- move(location[position].down, AHEAD);
+ moveplayer(location[position].down, AHEAD);
return (0);
}