summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-03-12 08:45:46 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-03-12 08:45:46 +0000
commite5ae1033bcc8679ae3742d06c8cc83dc365a2999 (patch)
tree00ceed435a344a87f59f8cd5d50edd3208d07a1a
parent4f092b2b9b4e624cc171aa3080f429970526bd45 (diff)
Bats shouldn't fall into pits.
-rw-r--r--games/larn/movem.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/larn/movem.c b/games/larn/movem.c
index 4defecc4e06..3f982e88184 100644
--- a/games/larn/movem.c
+++ b/games/larn/movem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: movem.c,v 1.3 1998/09/15 05:12:32 pjanzen Exp $ */
+/* $OpenBSD: movem.c,v 1.4 1999/03/12 08:45:45 pjanzen Exp $ */
/* $NetBSD: movem.c,v 1.5 1997/10/18 20:03:34 christos Exp $ */
/*
@@ -12,7 +12,7 @@
* movsphere() Function to look for and move spheres of annihilation
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: movem.c,v 1.3 1998/09/15 05:12:32 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: movem.c,v 1.4 1999/03/12 08:45:45 pjanzen Exp $";
#endif /* not lint */
#include "header.h"
@@ -287,6 +287,7 @@ mmove(aa, bb, cc, dd)
i = item[cc][dd];
if ((i == OPIT) || (i == OTRAPDOOR))
switch (mitem[aa][bb]) {
+ case BAT:
case SPIRITNAGA:
case PLATINUMDRAGON:
case WRAITH: