mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Fix: ID-collisions when processing large mods collections
This commit is contained in:
@ -283,8 +283,9 @@ class DLL_LINKAGE CObjectClassesHandler : public IHandlerBase
|
||||
/// format: customNames[primaryID][secondaryID] -> name
|
||||
std::map<si32, std::vector<std::string>> customNames;
|
||||
|
||||
void loadObjectEntry(const std::string & identifier, const JsonNode & entry, ObjectContainter * obj);
|
||||
void loadObjectEntry(const std::string & identifier, const JsonNode & entry, ObjectContainter * obj, bool isSubobject = false);
|
||||
ObjectContainter * loadFromJson(const JsonNode & json, const std::string & name);
|
||||
|
||||
public:
|
||||
CObjectClassesHandler();
|
||||
~CObjectClassesHandler();
|
||||
|
Reference in New Issue
Block a user