1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

More cleanup:

- moved SoundBase.h to lib since it contains shared data
- added RMG info to object format. Note that data is not yet imported in
configs
- slightly updated API of object handlers
This commit is contained in:
Ivan Savenko
2014-06-05 23:51:24 +03:00
parent b2e8c92383
commit 44742814cd
21 changed files with 118 additions and 47 deletions

View File

@@ -235,7 +235,7 @@ void CHeroClassHandler::afterLoadFinalization()
for (CHeroClass * hc : heroClasses)
{
VLC->objtypeh->createObject(hc->identifier, JsonNode(), Obj::HERO, hc->id);
VLC->objtypeh->loadSubObject(hc->identifier, JsonNode(), Obj::HERO, hc->id);
if (!hc->imageMapMale.empty())
{
JsonNode templ;