1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

* 437 fixed

This commit is contained in:
mateuszb 2010-03-09 11:19:08 +00:00
parent 3699786ab0
commit 658a560698

View File

@ -559,6 +559,11 @@ bool CBattleStackMoved::init()
//a few useful variables
steps = owner->creAnims[stackID]->framesInGroup(0)*owner->getAnimSpeedMultiplier()-1;
if(steps == 0) //this creature seems to have no move animation so we can end it immediately
{
endAnim();
return false;
}
whichStep = 0;
int hexWbase = 44, hexHbase = 42;
const CStack * movedStack = owner->curInt->cb->battleGetStackByID(stackID, false);