1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fixed death animation of Efreeti killed by petrification attack

This commit is contained in:
Ivan Savenko
2023-04-20 18:12:10 +03:00
parent 5c9ae8aafc
commit 6df85be4b3
2 changed files with 2 additions and 1 deletions

View File

@@ -137,7 +137,7 @@ bool StackActionAnimation::init()
StackActionAnimation::~StackActionAnimation()
{
if (stack->isFrozen())
if (stack->isFrozen() && currGroup != ECreatureAnimType::DEATH && currGroup != ECreatureAnimType::DEATH_RANGED)
myAnim->setType(ECreatureAnimType::HOLDING);
else
myAnim->setType(nextGroup);