mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
* 437 fixed
This commit is contained in:
parent
3699786ab0
commit
658a560698
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user