1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

fix build

This commit is contained in:
AlexVinS 2016-01-24 16:58:24 +03:00
parent 89d986fc6a
commit 0ec07b38ac

View File

@ -317,7 +317,7 @@ void CObjectClassesHandler::afterLoadFinalization()
}
//duplicate existing two-way portals to make reserve for RMG
auto& portalVec = objects[Obj::MONOLITH_TWO_WAY]->objects;
auto& portalVec = objects[Obj::MONOLITH_TWO_WAY]->subObjects;
size_t portalCount = portalVec.size();
size_t currentIndex = portalCount;
while (portalVec.size() < 100)