summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-24 11:15:11 +0000
committerrubidium <rubidium@openttd.org>2009-07-24 11:15:11 +0000
commit2c6b5237f68b1ce444f35eef6e31e7c0ff49d7cc (patch)
treea327b740ebd6f71336780c857326fe41fbe56683 /src/saveload
parent07447a1766145231e97b39993ec55d01e9be7bca (diff)
downloadopenttd-2c6b5237f68b1ce444f35eef6e31e7c0ff49d7cc.tar.xz
(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index d09af136b..3326bc53e 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -959,7 +959,7 @@ bool AfterLoadGame()
break;
case MP_STATION:
- if (IsRailwayStation(t)) {
+ if (HasStationRail(t)) {
SetRailType(t, UpdateRailType(GetRailType(t), min_rail));
}
break;