Browse Source

Some more fixes, updated changelog.

DjWarmonger 10 năm trước cách đây
mục cha
commit
e08a1f32bd
2 tập tin đã thay đổi với 9 bổ sung2 xóa
  1. 5 1
      ChangeLog
  2. 4 1
      lib/rmg/CRmgTemplateZone.cpp

+ 5 - 1
ChangeLog

@@ -1,14 +1,18 @@
 0.98 -> 0.next
 
+GENERAL:
+* Rogues provide expert Vision spell effect
+
 ADVETURE AI:
 * Fixed AI trying to go through underground rock
 * Fixed several cases causing AI wandering aimlessly
 * AI can again pick bets artifacts and exchange artifacts between heroes
 
 RANDOM MAP GENERATOR:
+* Added roads generation
+* Added Thieves Guild random object (1 per zone)
 * Changed fractalization algorithm so it can create cycles
 * Zones will not have straight paths anymore, they are totally random
-* Added Thieves Guild random object (1 per zone)
 
 0.97 -> 0.98
 GENERAL:

+ 4 - 1
lib/rmg/CRmgTemplateZone.cpp

@@ -1612,7 +1612,10 @@ void CRmgTemplateZone::drawRoads(CMapGenerator* gen)
 			tiles.push_back (tile);
 	}
 	for (auto tile : roadNodes)
-		tiles.push_back(tile);
+	{
+		if (vstd::contains(tileinfo, tile)) //mark roads for our nodes, but not for zone guards in other zones
+			tiles.push_back(tile);
+	}
 
 	gen->editManager->getTerrainSelection().setSelection(tiles);	
 	gen->editManager->drawRoad(ERoadType::COBBLESTONE_ROAD, &gen->rand);