summaryrefslogtreecommitdiffstats
path: root/larn/movem.c
diff options
context:
space:
mode:
Diffstat (limited to 'larn/movem.c')
-rw-r--r--larn/movem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/larn/movem.c b/larn/movem.c
index 82b361e3..6f88ea9b 100644
--- a/larn/movem.c
+++ b/larn/movem.c
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "$NetBSD: movem.c,v 1.3 1995/03/23 08:33:58 cgd Exp $";
+static char rcsid[] = "$NetBSD: movem.c,v 1.4 1997/07/13 20:21:37 christos Exp $";
#endif /* not lint */
/*
@@ -102,7 +102,7 @@ movemt(i,j)
switch(monst=mitem[i][j]) /* for half speed monsters */
{
case TROGLODYTE: case HOBGOBLIN: case METAMORPH: case XVART:
- case INVISIBLESTALKER: case ICELIZARD: if ((gtime & 1) == 1) return;
+ case INVISIBLESTALKER: case ICELIZARD: if ((gltime & 1) == 1) return;
};
if (c[SCAREMONST]) /* choose destination randomly if scared */
@@ -237,7 +237,7 @@ mmove(aa,bb,cc,dd)
};
if (tmp == TROLL) /* if a troll regenerate him */
- if ((gtime & 1) == 0)
+ if ((gltime & 1) == 0)
if (monster[tmp].hitpoints > hitp[cc][dd]) hitp[cc][dd]++;
if (i==OTRAPARROW) /* arrow hits monster */