summaryrefslogtreecommitdiffstats
path: root/robots/move.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-01-31 17:35:52 +0000
committerchristos <christos@NetBSD.org>2002-01-31 17:35:52 +0000
commit026158ce21511a76693e38921c011f2f2fa66002 (patch)
tree0638bd14d8d715f211ff76076c7bec33f8dbd9ce /robots/move.c
parentf04999017eaf3d433b717aba1d49698eb50f2660 (diff)
downloadbsdgames-darwin-026158ce21511a76693e38921c011f2f2fa66002.tar.gz
bsdgames-darwin-026158ce21511a76693e38921c011f2f2fa66002.tar.zst
bsdgames-darwin-026158ce21511a76693e38921c011f2f2fa66002.zip
Be more verbose about teleports, and fix a minor problem in autobot mode.
Diffstat (limited to 'robots/move.c')
-rw-r--r--robots/move.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/robots/move.c b/robots/move.c
index a74c6c76..c0982925 100644
--- a/robots/move.c
+++ b/robots/move.c
@@ -1,4 +1,4 @@
-/* $NetBSD: move.c,v 1.9 1999/09/08 21:17:57 jsm Exp $ */
+/* $NetBSD: move.c,v 1.10 2002/01/31 17:35:52 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: move.c,v 1.9 1999/09/08 21:17:57 jsm Exp $");
+__RCSID("$NetBSD: move.c,v 1.10 2002/01/31 17:35:52 christos Exp $");
#endif
#endif /* not lint */
@@ -175,6 +175,10 @@ teleport:
Running = FALSE;
mvaddch(My_pos.y, My_pos.x, ' ');
My_pos = *rnd_pos();
+ telmsg(1);
+ refresh();
+ sleep(1);
+ telmsg(0);
mvaddch(My_pos.y, My_pos.x, PLAYER);
leaveok(stdscr, FALSE);
refresh();