From c4681dc027d7cdf9019c8e8af1ee47dc45446afd Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 13 Jul 1997 20:21:32 +0000 Subject: gtime -> gltime to avoid conflict in time.h --- larn/movem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'larn/movem.c') 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 */ -- cgit v1.2.3-56-ge451