diff options
author | Simon Howard | 2008-10-23 21:34:39 +0000 |
---|---|---|
committer | Simon Howard | 2008-10-23 21:34:39 +0000 |
commit | a3abf64a05dee1b6203538deed39753002e910ea (patch) | |
tree | 82aaed44e048282e6d2f9904cf33b4a9fde8d842 | |
parent | 69116f7c48f8a3993aa5fd208135e3ea9598224e (diff) | |
download | chocolate-doom-a3abf64a05dee1b6203538deed39753002e910ea.tar.gz chocolate-doom-a3abf64a05dee1b6203538deed39753002e910ea.tar.bz2 chocolate-doom-a3abf64a05dee1b6203538deed39753002e910ea.zip |
Fix Heretic/Hexen demo desyncs.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1360
-rw-r--r-- | src/heretic/p_enemy.c | 2 | ||||
-rw-r--r-- | src/hexen/p_enemy.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |