Fix compile warnings

This commit is contained in:
Lach 2023-07-29 18:23:04 +10:00
parent fd8ba4236d
commit 6b86cbb500
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ void Obj_SneakerPanelSpriteScale(mobj_t *mobj)
spriteScale = FRACUNIT << 2;
}
if ((mobj->state - states) != newState)
if (((statenum_t)(mobj->state - states)) != newState)
{
P_SetMobjState(mobj, newState);
mobj->spritexscale = mobj->spriteyscale = spriteScale;

View file

@ -330,7 +330,7 @@ void A_FlameShieldPaper(mobj_t *actor);
void A_InvincSparkleRotate(mobj_t *actor);
void A_SpawnItemDebrisCloud(mobj_t *actor);
void A_RingShooterFace(mobj_t *actor);
void A_TextureAnimate(mobj_t *actor);
void A_SpawnSneakerPanel(mobj_t *actor);
//for p_enemy.c