From a3abf64a05dee1b6203538deed39753002e910ea Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 23 Oct 2008 21:34:39 +0000 Subject: Fix Heretic/Hexen demo desyncs. Subversion-branch: /branches/raven-branch Subversion-revision: 1360 --- src/heretic/p_enemy.c | 2 +- src/hexen/p_enemy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/heretic/p_enemy.c b/src/heretic/p_enemy.c index 376704fe..1097b612 100644 --- a/src/heretic/p_enemy.c +++ b/src/heretic/p_enemy.c @@ -434,7 +434,7 @@ void P_NewChaseDir(mobj_t * actor) } else { - for (tdir = DI_SOUTHEAST; tdir >= DI_EAST; tdir--) + for (tdir = DI_SOUTHEAST; tdir != DI_EAST-1; tdir--) { if (tdir != turnaround) { diff --git a/src/hexen/p_enemy.c b/src/hexen/p_enemy.c index b7009510..41cc2fdd 100644 --- a/src/hexen/p_enemy.c +++ b/src/hexen/p_enemy.c @@ -428,7 +428,7 @@ void P_NewChaseDir(mobj_t * actor) } else { - for (tdir = DI_SOUTHEAST; tdir >= DI_EAST; tdir--) + for (tdir = DI_SOUTHEAST; tdir != DI_EAST-1; tdir--) { if (tdir != turnaround) { -- cgit v1.2.3