Thalassicus
Bytes and Nibblers
Trade route range doesn't scale to map size. This causes problems on large and huge maps where start locations spread out. Lines 3120-3125 of function GetTradeRouteRange in CvTradeClasses.cpp should change from:
to:
This quick fix would probably take seconds. A better, but longer solution would add two new values to the Worlds table: LandTradeRange and SeaTradeRange.
Code:
case DOMAIN_SEA:
iBaseRange = 20;
break;
case DOMAIN_LAND:
iBaseRange = 10;
break;
to:
Code:
case DOMAIN_SEA:
iBaseRange = floor(GC.getMap().getWorldInfo().getGridWidth() / 4);
break;
case DOMAIN_LAND:
iBaseRange = floor(GC.getMap().getWorldInfo().getGridWidth() / 8);
break;
This quick fix would probably take seconds. A better, but longer solution would add two new values to the Worlds table: LandTradeRange and SeaTradeRange.