mirror of
https://github.com/libretro/libretro-prboom.git
synced 2025-03-01 20:35:39 +00:00
Silence warnings
This commit is contained in:
parent
5a6ec36865
commit
b8f4028850
@ -532,7 +532,7 @@ static void P_DoNewChaseDir(mobj_t *actor, fixed_t deltax, fixed_t deltay)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
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)))
|
if (tdir != turnaround && (actor->movedir = tdir, P_TryWalk(actor)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -1079,6 +1079,7 @@ void A_Look(mobj_t *actor)
|
|||||||
// Allows monsters to continue movement while attacking
|
// Allows monsters to continue movement while attacking
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void A_KeepChasing(mobj_t *actor)
|
static void A_KeepChasing(mobj_t *actor)
|
||||||
{
|
{
|
||||||
if (actor->movecount)
|
if (actor->movecount)
|
||||||
@ -1089,6 +1090,7 @@ static void A_KeepChasing(mobj_t *actor)
|
|||||||
P_SmartMove(actor);
|
P_SmartMove(actor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// A_Chase
|
// A_Chase
|
||||||
|
Loading…
x
Reference in New Issue
Block a user