1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00

Fix summoning block by clones.

This commit is contained in:
AlexVinS 2016-03-01 04:16:51 +03:00
parent 2c48c95c8d
commit 277211e569

View File

@ -645,6 +645,7 @@ ESpellCastProblem::ESpellCastProblem SummonMechanics::canBeCast(const CBattleInf
{
return (st->attackerOwned == !side)
&& (vstd::contains(st->state, EBattleStackState::SUMMONED))
&& (!vstd::contains(st->state, EBattleStackState::CLONED))
&& (st->getCreature()->idNumber != creatureToSummon);
});