diff options
author | maedhros <maedhros@openttd.org> | 2007-05-23 17:33:03 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-05-23 17:33:03 +0000 |
commit | 39016328cc92a50fec27ccf692838c2c4c26088f (patch) | |
tree | 73a8ef6355c7f911d98b6c9474351d089241fe55 /src/airport_gui.cpp | |
parent | 22c33370719b30366223a605d3345fb5b2323454 (diff) | |
download | openttd-39016328cc92a50fec27ccf692838c2c4c26088f.tar.xz |
(svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01.
Diffstat (limited to 'src/airport_gui.cpp')
-rw-r--r-- | src/airport_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index 681f9b297..e663b8ffb 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -34,7 +34,7 @@ void CcBuildAirport(bool success, TileIndex tile, uint32 p1, uint32 p2) static void PlaceAirport(TileIndex tile) { - DoCommandP(tile, _selected_airport_type, 0, CcBuildAirport, CMD_BUILD_AIRPORT | CMD_AUTO | CMD_NO_WATER | CMD_MSG(STR_A001_CAN_T_BUILD_AIRPORT_HERE)); + DoCommandP(tile, _selected_airport_type, _ctrl_pressed, CcBuildAirport, CMD_BUILD_AIRPORT | CMD_AUTO | CMD_NO_WATER | CMD_MSG(STR_A001_CAN_T_BUILD_AIRPORT_HERE)); } static void PlaceAir_DemolishArea(TileIndex tile) |