|
@@ -42,13 +42,13 @@
|
|
|
if (IsRoadDepotTile(this->tile)) return Depot::GetByTile(this->tile)->build_date;
|
|
|
return _date;
|
|
|
case 0x44: {
|
|
|
const Town *t = nullptr;
|
|
|
if (IsRoadDepotTile(this->tile)) {
|
|
|
t = Depot::GetByTile(this->tile)->town;
|
|
|
} else if (IsTileType(this->tile, MP_ROAD)) {
|
|
|
} else {
|
|
|
t = ClosestTownFromTile(this->tile, UINT_MAX);
|
|
|
}
|
|
|
return t != nullptr ? GetTownRadiusGroup(t, this->tile) : HZB_TOWN_EDGE;
|
|
|
}
|
|
|
}
|
|
|
|