Mercurial > hg > openttd
changeset 7955:c08de05b67c2 draft
(svn r11511) -Revert parts of r11505: forgot that CTRL might be used for other features, like adjacent stations or signals.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 24 Nov 2007 12:36:52 +0000 |
parents | 38bb7c45688f |
children | 8dde26620a83 |
files | src/rail_gui.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -157,7 +157,7 @@ static void PlaceRail_Station(TileIndex tile) { - if (_remove_button_clicked || _ctrl_pressed) { + if (_remove_button_clicked) { VpStartPlaceSizing(tile, VPM_X_AND_Y, DDSP_REMOVE_STATION); } else if (_railstation.dragdrop) { VpStartPlaceSizing(tile, VPM_X_AND_Y_LIMITED, DDSP_BUILD_STATION); @@ -184,7 +184,7 @@ Track track = FindFirstTrack(trackbits); - if (_remove_button_clicked || _ctrl_pressed) { + if (_remove_button_clicked) { DoCommandP(tile, track, 0, CcPlaySound1E, CMD_REMOVE_SIGNALS | CMD_MSG(STR_1013_CAN_T_REMOVE_SIGNALS_FROM)); } else { @@ -389,7 +389,7 @@ TileVirtXY(thd->selend.x, thd->selend.y), p2, CcPlaySound1E, - (_remove_button_clicked || _ctrl_pressed)? + _remove_button_clicked ? CMD_REMOVE_SIGNAL_TRACK | CMD_NO_WATER | CMD_MSG(STR_1013_CAN_T_REMOVE_SIGNALS_FROM) : CMD_BUILD_SIGNAL_TRACK | CMD_NO_WATER | CMD_MSG(STR_1010_CAN_T_BUILD_SIGNALS_HERE) );