1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-29 00:41:38 +02:00

* spell animations are handled by new battle animation engine

* armageddon works when there are dead stack on the battlefield
This commit is contained in:
mateuszb
2009-09-17 12:59:04 +00:00
parent 1a08772bc8
commit 451c08922c
3 changed files with 172 additions and 93 deletions

View File

@ -2540,7 +2540,8 @@ std::set<CStack*> BattleInfo::getAttackedCreatures(const CSpell * s, const CGHer
|| (s->id == 26) //Armageddon
)
{
attackedCres.insert(stacks[it]);
if(stacks[it]->alive())
attackedCres.insert(stacks[it]);
}
}
}