summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen')
-rw-r--r--src/hexen/p_enemy.c2
1 files changed, 1 insertions, 1 deletions
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)
{