summaryrefslogtreecommitdiff
path: root/src/company_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-07 14:45:07 +0000
committerrubidium <rubidium@openttd.org>2009-01-07 14:45:07 +0000
commitac5c5fc2db70e6617e22c4e37f2b7cb9bae3d0a5 (patch)
tree547b9e6117c20e383e7a3ffe30e3e6a0f294d1e9 /src/company_gui.cpp
parent131ffc3196c5940f5e239e5b061eb4c9aefe2039 (diff)
downloadopenttd-ac5c5fc2db70e6617e22c4e37f2b7cb9bae3d0a5.tar.xz
(svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r--src/company_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp
index 7be5c05ab..712f092f7 100644
--- a/src/company_gui.cpp
+++ b/src/company_gui.cpp
@@ -1310,7 +1310,7 @@ struct CompanyWindow : Window
virtual void OnPlaceObject(Point pt, TileIndex tile)
{
- if (DoCommandP(tile, 0, 0, CMD_BUILD_COMPANY_HQ | CMD_NO_WATER | CMD_MSG(STR_7071_CAN_T_BUILD_COMPANY_HEADQUARTERS)))
+ if (DoCommandP(tile, 0, 0, CMD_BUILD_COMPANY_HQ | CMD_MSG(STR_7071_CAN_T_BUILD_COMPANY_HEADQUARTERS)))
ResetObjectToPlace();
this->widget[CW_WIDGET_BUILD_VIEW_HQ].type = WWT_PUSHTXTBTN; // this button can now behave as a normal push button
this->RaiseButtons();