1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00
This commit is contained in:
Ivan Savenko
2023-11-13 16:37:02 +02:00
parent d4496c81f9
commit 301ac2457a
9 changed files with 13 additions and 23 deletions

View File

@@ -34,8 +34,10 @@ MapRendererContextState::MapRendererContextState()
objects.resize(boost::extents[mapSize.z][mapSize.x][mapSize.y]);
logGlobal->debug("Loading map objects");
for(const auto & obj : CGI->mh->getMap()->objects)
addObject(obj);
logGlobal->debug("Done loading map objects");
}
void MapRendererContextState::addObject(const CGObjectInstance * obj)