1
0
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:
mateuszb
2011-02-09 13:56:30 +00:00
parent 9f21e4b46f
commit 8a4187df16
6 changed files with 50 additions and 44 deletions

View File

@@ -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);
}
}