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
commit5fcf07f3881b76fcccca7917ad7773ef46a75625 (patch)
tree547b9e6117c20e383e7a3ffe30e3e6a0f294d1e9 /src/company_gui.cpp
parentd66d36126c4ed7cd4eef91b61174491427bb0322 (diff)
downloadopenttd-5fcf07f3881b76fcccca7917ad7773ef46a75625.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();