1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-07 23:33:15 +02:00

* support for new spells: anti-magic and elemental summoning

* obstacles in battles should fit now the battlefield
* minor changes
This commit is contained in:
mateuszb
2009-08-06 14:02:21 +00:00
parent 184676d7c4
commit ea6ab102a7
11 changed files with 168 additions and 121 deletions

View File

@@ -496,6 +496,10 @@ void CBattleInterface::show(SDL_Surface * to)
for(size_t v=0; v<stackAliveByHex[b].size(); ++v)
{
int curStackID = stackAliveByHex[b][v];
if(creAnims.find(curStackID) == creAnims.end()) //eg. for summoned but not yet handled stacks
continue;
const CStack &curStack = stacks[curStackID];
int animType = creAnims[curStackID]->getType();