summaryrefslogtreecommitdiffstats
path: root/battlestar/com7.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>2000-07-23 23:57:23 +0000
committermycroft <mycroft@NetBSD.org>2000-07-23 23:57:23 +0000
commit74639ea369dcee2bed9c2d2c8ee108d4336a9858 (patch)
tree941b202d6746a6296df1ad1869ec0c4e1b10fc43 /battlestar/com7.c
parentf6138c99bc04c12506713ae9badd0552ddfc22e5 (diff)
downloadbsdgames-darwin-74639ea369dcee2bed9c2d2c8ee108d4336a9858.tar.gz
bsdgames-darwin-74639ea369dcee2bed9c2d2c8ee108d4336a9858.zip
Rename move() to moveplayer() to avoid clashing with libcurses.
Diffstat (limited to 'battlestar/com7.c')
-rw-r--r--battlestar/com7.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/battlestar/com7.c b/battlestar/com7.c
index bc0ab4db..31b4c57e 100644
--- a/battlestar/com7.c
+++ b/battlestar/com7.c
@@ -1,4 +1,4 @@
-/* $NetBSD: com7.c,v 1.6 1997/10/11 02:07:10 lukem Exp $ */
+/* $NetBSD: com7.c,v 1.7 2000/07/23 23:57:23 mycroft Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)com7.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: com7.c,v 1.6 1997/10/11 02:07:10 lukem Exp $");
+__RCSID("$NetBSD: com7.c,v 1.7 2000/07/23 23:57:23 mycroft Exp $");
#endif
#endif /* not lint */
@@ -206,18 +206,18 @@ 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);
}