diff options
author | celestar <celestar@openttd.org> | 2007-01-25 10:06:58 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2007-01-25 10:06:58 +0000 |
commit | b0a0086e7cd09d4bd28838fb3aa0fec6b9fc7857 (patch) | |
tree | dd1d248343ebc3dd9af716726f0d4ebc74c285f0 /src/road_gui.cpp | |
parent | 600cb8a314eb1165bcef1309ebe3b7fd237e9778 (diff) | |
download | openttd-b0a0086e7cd09d4bd28838fb3aa0fec6b9fc7857.tar.xz |
(svn r8402) -Codechange: Move RoadStop-specific enums to the RoadStop class, and changed a one-member enum into a static const. Simplify their naming and add some doxygen-comments to RoadStop
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 4f9fb134b..3b8437c34 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -94,12 +94,12 @@ static void PlaceRoad_Depot(TileIndex tile) static void PlaceRoad_BusStation(TileIndex tile) { - DoCommandP(tile, _road_station_picker_orientation, RS_BUS, CcRoadDepot, CMD_BUILD_ROAD_STOP | CMD_AUTO | CMD_NO_WATER | CMD_MSG(STR_1808_CAN_T_BUILD_BUS_STATION)); + DoCommandP(tile, _road_station_picker_orientation, RoadStop::BUS, CcRoadDepot, CMD_BUILD_ROAD_STOP | CMD_AUTO | CMD_NO_WATER | CMD_MSG(STR_1808_CAN_T_BUILD_BUS_STATION)); } static void PlaceRoad_TruckStation(TileIndex tile) { - DoCommandP(tile, _road_station_picker_orientation, RS_TRUCK, CcRoadDepot, CMD_BUILD_ROAD_STOP | CMD_AUTO | CMD_NO_WATER | CMD_MSG(STR_1809_CAN_T_BUILD_TRUCK_STATION)); + DoCommandP(tile, _road_station_picker_orientation, RoadStop::TRUCK, CcRoadDepot, CMD_BUILD_ROAD_STOP | CMD_AUTO | CMD_NO_WATER | CMD_MSG(STR_1809_CAN_T_BUILD_TRUCK_STATION)); } static void PlaceRoad_DemolishArea(TileIndex tile) |