Browse Source

MAI_Ranged: Use CheckStandAnimationIsLoaded instead of directly changing animation data

pull/2364/head
obligaron 5 years ago committed by Anders Jenbo
parent
commit
1fcbad0810
  1. 2
      Source/monster.cpp

2
Source/monster.cpp

@ -3375,7 +3375,7 @@ void MAI_Ranged(int i, missile_id missileType, bool special)
else
M_StartRAttack(i, missileType, 4);
} else {
monst->AnimInfo.pCelSprite = &*monst->MType->Anims[MA_STAND].CelSpritesForDirections[md];
monst->CheckStandAnimationIsLoaded(md);
}
}
return;

Loading…
Cancel
Save