From 2c6b5237f68b1ce444f35eef6e31e7c0ff49d7cc Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 24 Jul 2009 11:15:11 +0000 Subject: (svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile --- src/saveload/afterload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/saveload') 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; -- cgit v1.2.3-70-g09d2