mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
CMapGenerator.cpp: remove unused variables
This commit is contained in:
@@ -207,10 +207,6 @@ void CMapGenerator::genZones()
|
||||
editManager->getTerrainSelection().selectRange(MapRect(int3(0, 0, 0), mapGenOptions->getWidth(), mapGenOptions->getHeight()));
|
||||
editManager->drawTerrain(ETerrainType::GRASS, &rand);
|
||||
|
||||
auto pcnt = mapGenOptions->getPlayerCount();
|
||||
auto w = mapGenOptions->getWidth();
|
||||
auto h = mapGenOptions->getHeight();
|
||||
|
||||
auto tmpl = mapGenOptions->getMapTemplate();
|
||||
zones = tmpl->getZones(); //copy from template (refactor?)
|
||||
|
||||
@@ -218,8 +214,6 @@ void CMapGenerator::genZones()
|
||||
placer.placeZones(mapGenOptions, &rand);
|
||||
placer.assignZones(mapGenOptions);
|
||||
|
||||
int i = 0;
|
||||
|
||||
logGlobal->infoStream() << "Zones generated successfully";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user