1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

- fixed uninitialized access into modHander

- fixed  #389
This commit is contained in:
Ivan Savenko
2013-04-28 15:06:14 +00:00
parent 9776fa9f18
commit b20f8fd3d4
6 changed files with 12 additions and 6 deletions

View File

@@ -511,10 +511,13 @@ void CModHandler::handleData(Handler handler, const JsonNode & source, std::stri
}
}
void CModHandler::loadGameContent()
void CModHandler::beforeLoad()
{
loadConfigFromFile("defaultMods.json");
}
void CModHandler::loadGameContent()
{
CStopWatch timer, totalTime;
CContentHandler content;