1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00
- Fixed upgrades not working after recent changes. Now all upgrades will be handled by creature names.
This commit is contained in:
DjWarmonger
2012-11-14 15:26:33 +00:00
parent a7cea94247
commit 13a5a820d0
4 changed files with 78 additions and 68 deletions

View File

@@ -332,7 +332,7 @@ void CCreatureHandler::loadCreatures()
BOOST_FOREACH(const JsonNode &value, creature["upgrades"].Vector())
{
c->upgrades.insert(value.Float());
c->upgradeNames.insert(value.String());
}
value = &creature["projectile_defname"];