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:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user