1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Made onlyAlive flag a part of TargetInfo

This commit is contained in:
AlexVinS
2014-05-18 13:20:36 +04:00
parent 6bf4140145
commit 7cf64a0628
3 changed files with 6 additions and 5 deletions

View File

@@ -287,6 +287,7 @@ const CSpell::TargetInfo CSpell::getTargetInfo(const int level) const
info.type = getTargetType();
info.smart = levelInfo.smartTarget;
info.massive = levelInfo.range == "X";
info.onlyAlive = !isRisingSpell();
return info;
}