mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
- minor optimizations
- fixed incorrect error reporting in launcher - set WoG version to "0.0.0" so full version will be installed from repo in future - updated debian required packages list - launcher will be enabled by default
This commit is contained in:
@@ -385,7 +385,7 @@ void CCreatureHandler::loadObject(std::string scope, std::string name, const Jso
|
||||
creatures[index] = object;
|
||||
|
||||
VLC->modh->identifiers.registerObject(scope, "creature", name, object->idNumber);
|
||||
for(auto node : data["extraNames"].Vector())
|
||||
for(auto & node : data["extraNames"].Vector())
|
||||
{
|
||||
VLC->modh->identifiers.registerObject(scope, "creature", node.String(), object->idNumber);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user