1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-27 00:41:08 +02:00

Use clearAffected flag

This commit is contained in:
AlexVinS
2014-11-13 15:00:45 +03:00
parent 9f983c67c0
commit 9e8b09d747
3 changed files with 11 additions and 7 deletions

View File

@ -503,7 +503,9 @@ void CSpell::TargetInfo::init(const CSpell * spell, const int level)
smart = levelInfo.smartTarget;
massive = levelInfo.range == "X";
onlyAlive = !spell->isRisingSpell();
alwaysHitDirectly = false;
alwaysHitDirectly = false;
clearAffected = levelInfo.clearAffected;
clearTarget = levelInfo.clearTarget;
}