1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Complete parsing for new Artifacts. iconIndex needs to be handled.

Otherwise, they are ready for test.
This commit is contained in:
DjWarmonger
2012-12-13 14:27:33 +00:00
parent 23fcdd1a4a
commit 62a281a665
4 changed files with 22 additions and 9 deletions

@ -141,6 +141,7 @@ void CModHandler::loadActiveMods()
VLC->townh->load(JsonUtils::assembleFromFiles(config ["factions"].convertTo<std::vector<std::string> >()));
VLC->creh->load( JsonUtils::assembleFromFiles(config["creatures"].convertTo<std::vector<std::string> >()));
VLC->arth->load( JsonUtils::assembleFromFiles(config["artifacts"].convertTo<std::vector<std::string> >()));
}
VLC->creh->buildBonusTreeForTiers(); //do that after all new creatures are loaded