1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Improved road routing so they can go under any passable object.

This commit is contained in:
DjWarmonger
2016-12-21 10:10:37 +01:00
parent f78b524731
commit cc452bdfa9
5 changed files with 19 additions and 9 deletions

View File

@ -319,7 +319,7 @@ void CMapGenerator::fillZones()
it.second->createObstacles2(this);
}
#define PRINT_MAP_BEFORE_ROADS true
#define PRINT_MAP_BEFORE_ROADS false
if (PRINT_MAP_BEFORE_ROADS) //enable to debug
{
std::ofstream out("road debug");