diff options
author | rubidium <rubidium@openttd.org> | 2007-07-27 03:27:16 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-27 03:27:16 +0000 |
commit | e8acc3d35d5cc25a25ce9a5b97e6d2e287f6b382 (patch) | |
tree | e7798af4c946fecc808820105dfcfd1f52c1d194 /src | |
parent | 3f7a7261d6b1b8d5b94d9fe8a6aa5652e3303b58 (diff) | |
download | openttd-e8acc3d35d5cc25a25ce9a5b97e6d2e287f6b382.tar.xz |
(svn r10702) -Fix: "Can't build ..." instead of "Can't remove ..." message shown for road stops for trucks/cargo trams.
Diffstat (limited to 'src')
-rw-r--r-- | src/road_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 1300f45d4..57e4db3fa 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -169,7 +169,7 @@ static void PlaceRoad_BusStation(TileIndex tile) static void PlaceRoad_TruckStation(TileIndex tile) { if (_remove_button_clicked) { - DoCommandP(tile, 0, RoadStop::TRUCK, CcPlaySound1D, CMD_REMOVE_ROAD_STOP | CMD_MSG(_road_type_infos[_cur_roadtype].err_build_station[RoadStop::TRUCK])); + DoCommandP(tile, 0, RoadStop::TRUCK, CcPlaySound1D, CMD_REMOVE_ROAD_STOP | CMD_MSG(_road_type_infos[_cur_roadtype].err_remove_station[RoadStop::TRUCK])); } else { PlaceRoadStop(tile, (_ctrl_pressed << 5) | RoadTypeToRoadTypes(_cur_roadtype) << 2 | RoadStop::TRUCK, CMD_BUILD_ROAD_STOP | CMD_AUTO | CMD_NO_WATER | CMD_MSG(_road_type_infos[_cur_roadtype].err_build_station[RoadStop::TRUCK])); } |