From b8f4028850cf95ce7d6eee6d2045bdb2cf07aed7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 23 Feb 2016 13:12:09 +0100 Subject: [PATCH] Silence warnings --- src/p_enemy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index dae0f14..c3cdb78 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -532,7 +532,7 @@ static void P_DoNewChaseDir(mobj_t *actor, fixed_t deltax, fixed_t deltay) return; } else - for (tdir = DI_SOUTHEAST; tdir != DI_EAST-1; tdir--) + for (tdir = DI_SOUTHEAST; tdir != (dirtype_t)(DI_EAST-1); tdir--) if (tdir != turnaround && (actor->movedir = tdir, P_TryWalk(actor))) return; @@ -1079,6 +1079,7 @@ void A_Look(mobj_t *actor) // Allows monsters to continue movement while attacking // +#if 0 static void A_KeepChasing(mobj_t *actor) { if (actor->movecount) @@ -1089,6 +1090,7 @@ static void A_KeepChasing(mobj_t *actor) P_SmartMove(actor); } } +#endif // // A_Chase