mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Cleanup
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user