summaryrefslogtreecommitdiffstats
path: root/larn/movem.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-07-13 20:21:32 +0000
committerchristos <christos@NetBSD.org>1997-07-13 20:21:32 +0000
commitc4681dc027d7cdf9019c8e8af1ee47dc45446afd (patch)
tree1d922bff58f97096e0fa5cfe8d743f4ff8444291 /larn/movem.c
parent3638c6860decfacc7974156434d4dfdd31a47443 (diff)
downloadbsdgames-darwin-c4681dc027d7cdf9019c8e8af1ee47dc45446afd.tar.gz
bsdgames-darwin-c4681dc027d7cdf9019c8e8af1ee47dc45446afd.tar.zst
bsdgames-darwin-c4681dc027d7cdf9019c8e8af1ee47dc45446afd.zip
gtime -> gltime to avoid conflict in time.h
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 */