summaryrefslogtreecommitdiff
path: root/src/saveload/labelmaps_sl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/labelmaps_sl.cpp')
-rw-r--r--src/saveload/labelmaps_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/labelmaps_sl.cpp b/src/saveload/labelmaps_sl.cpp
index f216b8333..274b735ff 100644
--- a/src/saveload/labelmaps_sl.cpp
+++ b/src/saveload/labelmaps_sl.cpp
@@ -64,7 +64,7 @@ void AfterLoadLabelMaps()
break;
case MP_STATION:
- if (IsRailwayStation(t)) {
+ if (HasStationRail(t)) {
SetRailType(t, railtype_conversion_map[GetRailType(t)]);
}
break;