mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-22 00:27:58 +02:00
post-merge fixes
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
#include "../mapObjects/ObjectTemplate.h"
|
||||
#include "../mapObjects/CObjectHandler.h"
|
||||
#include "../mapObjects/CObjectClassesHandler.h"
|
||||
#include "../mapObjects/CGHeroInstance.h"
|
||||
#include "../mapObjects/CGTownInstance.h"
|
||||
|
||||
#include "../StringConstants.h"
|
||||
|
||||
namespace TriggeredEventsDetail
|
||||
@@ -606,7 +609,7 @@ void CMapLoaderJson::MapObjectLoader::configure()
|
||||
if(instance->ID == Obj::HERO)
|
||||
{
|
||||
logGlobal->debugStream() << "Hero: " << VLC->heroh->heroes[instance->subID]->name << " at " << instance->pos;
|
||||
owner->map->heroesOnMap.push_back(static_cast<CGHeroInstance*>(instance));
|
||||
owner->map->heroesOnMap.push_back(static_cast<CGHeroInstance *>(instance));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user