|
@@ -1637,7 +1637,7 @@ ESpellCastProblem::ESpellCastProblem CBattleInfoCallback::battleCanCastThisSpell
|
|
|
{
|
|
|
//check if there are summoned elementals of other type
|
|
|
for( const CStack * st : battleAliveStacks())
|
|
|
- if(vstd::contains(st->state, EBattleStackState::SUMMONED) && st->getCreature()->idNumber == creIDs[arpos])
|
|
|
+ if(vstd::contains(st->state, EBattleStackState::SUMMONED) && st->getCreature()->idNumber != creIDs[arpos])
|
|
|
return ESpellCastProblem::ANOTHER_ELEMENTAL_SUMMONED;
|
|
|
}
|
|
|
|