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:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user