1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

reworked mod loading to follow standard approach

This commit is contained in:
Henning Koehler
2017-09-03 23:49:36 +12:00
parent cd35ece10c
commit 37df5c9d88
6 changed files with 51 additions and 154 deletions

View File

@ -404,6 +404,7 @@ bool CContentHandler::ContentTypeHandler::loadMod(std::string modName, bool vali
continue;
}
// normal new object
logMod->trace("no index in loadMod(%s)", name);
performValidate(data,name);
handler->loadObject(modName, name, data);
}