mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fix build
This commit is contained in:
parent
49412579b4
commit
4ba2b95983
@ -763,7 +763,7 @@ void BattleFlowProcessor::stackTurnTrigger(const CBattleInfoCallback & battle, c
|
|||||||
|
|
||||||
auto &levelInfo = spell->getLevelInfo(bonus->val);
|
auto &levelInfo = spell->getLevelInfo(bonus->val);
|
||||||
bool isDamageSpell = spell->isDamage() || spell->isOffensive();
|
bool isDamageSpell = spell->isDamage() || spell->isOffensive();
|
||||||
if (!isDamageSpell || levelInfo.smartTarget || levelInfo.range != "X")
|
if (!isDamageSpell || levelInfo.smartTarget || !levelInfo.range.empty())
|
||||||
{
|
{
|
||||||
parameters.massive = true;
|
parameters.massive = true;
|
||||||
parameters.smart = true;
|
parameters.smart = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user