diff --git a/lib/mapObjectConstructors/CObjectClassesHandler.cpp b/lib/mapObjectConstructors/CObjectClassesHandler.cpp index d2a4907f1..89c257974 100644 --- a/lib/mapObjectConstructors/CObjectClassesHandler.cpp +++ b/lib/mapObjectConstructors/CObjectClassesHandler.cpp @@ -451,7 +451,8 @@ void CObjectClassesHandler::generateExtraMonolithsForRMG(ObjectClass * container newPortal->subTypeName = std::string("monolith") + std::to_string(portalVec.size()); newPortal->type = portal->getIndex(); - newPortal->subtype = portalVec.size(); //indexes must be unique, they are returned as a set + // Inconsintent original indexing: monolith1 has index 0 + newPortal->subtype = portalVec.size() - 1; //indexes must be unique, they are returned as a set newPortal->blockVisit = portal->blockVisit; newPortal->removable = portal->removable;