mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Zone shapes & terrains work nicely.
This commit is contained in:
@ -154,10 +154,13 @@ void CMapGenerator::genZones()
|
||||
|
||||
CZonePlacer placer(this);
|
||||
placer.placeZones(mapGenOptions, &rand);
|
||||
placer.assignZones(mapGenOptions);
|
||||
|
||||
int i = 0;
|
||||
int part_w = w/player_per_side;
|
||||
int part_h = h/player_per_side;
|
||||
|
||||
|
||||
for(auto const it : zones)
|
||||
{
|
||||
CRmgTemplateZone * zone = it.second;
|
||||
|
Reference in New Issue
Block a user