From 1fcbad0810dbfcdeb3f373daffbdb7c40d3b2441 Mon Sep 17 00:00:00 2001 From: obligaron Date: Mon, 12 Jul 2021 11:29:09 +0200 Subject: [PATCH] MAI_Ranged: Use CheckStandAnimationIsLoaded instead of directly changing animation data --- Source/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index 183347352..89511b569 100644 --- a/Source/monster.cpp +++ b/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;