diff options
author | miham <miham@openttd.org> | 2004-11-17 00:52:54 +0000 |
---|---|---|
committer | miham <miham@openttd.org> | 2004-11-17 00:52:54 +0000 |
commit | 86d19cb577a8b6d73840563d36983e7caf4d1eb6 (patch) | |
tree | f9cadca3e19886b1b11b1dd94abd5ed3be4e94b8 /rail_gui.c | |
parent | cd6cb848892c7714d90845a85be24181f44bc7ee (diff) | |
download | openttd-86d19cb577a8b6d73840563d36983e7caf4d1eb6.tar.xz |
(svn r647) Cleanup custom station classes handling. (pasky)
Diffstat (limited to 'rail_gui.c')
-rw-r--r-- | rail_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_gui.c b/rail_gui.c index 050ac03bc..b50b56c59 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -307,7 +307,7 @@ static void BuildRailClick_Sign(Window *w) 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(); |