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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user