changeset 438 | 79b5df3f394a |
parent 417 | 0c63a94557a5 |
child 449 | d9325d9f24bb |
--- a/rail_gui.c Tue Nov 16 23:51:38 2004 +0000 +++ b/rail_gui.c Wed Nov 17 00:52:54 2004 +0000 @@ -307,7 +307,7 @@ static void BuildRailClick_Waypoint(Window *w) { - _waypoint_count = GetCustomStationsCount('WAYP'); + _waypoint_count = GetCustomStationsCount(STAT_CLASS_WAYP); if (HandlePlacePushButton(w, 18, SPR_OPENTTD_BASE + 7, 1, PlaceRail_Waypoint) && _waypoint_count > 1) ShowBuildWaypointPicker();