1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Merge remote-tracking branch 'upstream/develop' into boats

# Conflicts:
#	AI/VCAI/Pathfinding/AINodeStorage.cpp
This commit is contained in:
nordsoft
2023-04-19 02:22:19 +04:00
164 changed files with 1947 additions and 1406 deletions

View File

@@ -1506,7 +1506,7 @@ void CGTownInstance::serializeJsonOptions(JsonSerializeFormat & handler)
auto rawId = VLC->modh->identifiers.getIdentifier(CModHandler::scopeMap(), getTown()->getBuildingScope(), identifier);
if(rawId)
return rawId.get();
return rawId.value();
else
return -1;
};