(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile

This commit is contained in:
rubidium
2009-07-24 11:15:11 +00:00
parent 36ebb4fe58
commit 00a9b2fd3d
12 changed files with 36 additions and 14 deletions

View File

@@ -959,7 +959,7 @@ bool AfterLoadGame()
break;
case MP_STATION:
if (IsRailwayStation(t)) {
if (HasStationRail(t)) {
SetRailType(t, UpdateRailType(GetRailType(t), min_rail));
}
break;