diff options
author | christos <christos@NetBSD.org> | 1997-07-13 20:21:32 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 1997-07-13 20:21:32 +0000 |
commit | c4681dc027d7cdf9019c8e8af1ee47dc45446afd (patch) | |
tree | 1d922bff58f97096e0fa5cfe8d743f4ff8444291 /larn/movem.c | |
parent | 3638c6860decfacc7974156434d4dfdd31a47443 (diff) | |
download | bsdgames-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.c | 6 |
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 */ |