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

- Fixed Remove Obstacle spell

- Fixed freeze at Chain Lightning
This commit is contained in:
DjWarmonger
2012-04-28 15:18:21 +00:00
parent 66418f43a9
commit 192de453af
2 changed files with 9 additions and 6 deletions

View File

@@ -190,7 +190,7 @@ std::set<ui16> CSpell::rangeInHexes(unsigned int centralHex, ui8 schoolLvl ) con
return ret;
}
CSpell::ETargetType CSpell::getTargetType() const
CSpell::ETargetType CSpell::getTargetType() const //TODO: parse these at game launch
{
if(attributes.find("CREATURE_TARGET_1") != std::string::npos
|| attributes.find("CREATURE_TARGET_2") != std::string::npos)