diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-16 17:05:45 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-16 17:05:45 +0000 |
commit | cf9ecc68cbbec83ac07c881810ebad8981522ea7 (patch) | |
tree | 8261e86d514f3102df64220b6d8170492a77a90b | |
parent | f8f10d737d0fff6dcd1414e33e12f2dbcd7d1e9a (diff) | |
download | openttd-cf9ecc68cbbec83ac07c881810ebad8981522ea7.tar.xz |
(svn r4449) - NewStations, remove parameter to use first custom station when building a railway station. The parameters will be
changing.
-rw-r--r-- | rail_gui.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/rail_gui.c b/rail_gui.c index 82182afb2..0dab00067 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -145,9 +145,8 @@ static void PlaceRail_Station(TileIndex tile) VpStartPlaceSizing(tile, VPM_X_AND_Y_LIMITED); VpSetPlaceSizingLimit(_patches.station_spread); } else { - // TODO: Custom station selector GUI. Now we just try using first custom station - // (and fall back to normal stations if it isn't available). - DoCommandP(tile, _railstation.orientation | (_railstation.numtracks<<8) | (_railstation.platlength<<16),_cur_railtype|1<<4, CcStation, + // TODO: Custom station selector GUI. + DoCommandP(tile, _railstation.orientation | (_railstation.numtracks<<8) | (_railstation.platlength<<16),_cur_railtype, CcStation, CMD_BUILD_RAILROAD_STATION | CMD_NO_WATER | CMD_AUTO | CMD_MSG(STR_100F_CAN_T_BUILD_RAILROAD_STATION)); } } @@ -598,9 +597,8 @@ static void HandleStationPlacement(TileIndex start, TileIndex end) h = ey - sy + 1; if (!_railstation.orientation) uintswap(w,h); - // TODO: Custom station selector GUI. Now we just try using first custom station - // (and fall back to normal stations if it isn't available). - DoCommandP(TileXY(sx, sy), _railstation.orientation | (w << 8) | (h << 16), _cur_railtype | 1 << 4, CcStation, + // TODO: Custom station selector GUI. + DoCommandP(TileXY(sx, sy), _railstation.orientation | (w << 8) | (h << 16), _cur_railtype, CcStation, CMD_BUILD_RAILROAD_STATION | CMD_NO_WATER | CMD_AUTO | CMD_MSG(STR_100F_CAN_T_BUILD_RAILROAD_STATION)); } |