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

* Fixed crash on casting spells.

* version bump
This commit is contained in:
Michał W. Urbańczyk
2012-09-09 23:51:20 +00:00
parent 529394a4e7
commit d961ec0507
2 changed files with 2 additions and 2 deletions

View File

@@ -1593,7 +1593,7 @@ ESpellCastProblem::ESpellCastProblem CBattleInfoCallback::battleCanCastThisSpell
case CSpell::CREATURE_EXPERT_MASSIVE:
if(mode == ECastingMode::HERO_CASTING)
{
const CGHeroInstance * caster = battleGetFightingHero(player);
const CGHeroInstance * caster = battleGetFightingHero(side);
bool targetExists = false;
BOOST_FOREACH(const CStack * stack, battleAliveStacks())
{