mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
* fixed displaying animation of creature starting moving
This commit is contained in:
@@ -579,10 +579,10 @@ void CPlayerInterface::battleStacksHealedRes(const std::vector<std::pair<ui32, u
|
||||
for(int b=0; b<healedStacks.size(); ++b)
|
||||
{
|
||||
const CStack * healed = cb->battleGetStackByID(healedStacks[b].first);
|
||||
if(battleInt->creAnims[healed->ID]->getType() == 5)
|
||||
if(battleInt->creAnims[healed->ID]->getType() == CCreatureAnim::DEATH)
|
||||
{
|
||||
//stack has been resurrected
|
||||
battleInt->creAnims[healed->ID]->setType(2);
|
||||
battleInt->creAnims[healed->ID]->setType(CCreatureAnim::HOLDING);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user