diff options
author | rubidium <rubidium@openttd.org> | 2009-01-07 14:45:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-07 14:45:07 +0000 |
commit | ac5c5fc2db70e6617e22c4e37f2b7cb9bae3d0a5 (patch) | |
tree | 547b9e6117c20e383e7a3ffe30e3e6a0f294d1e9 /src/company_gui.cpp | |
parent | 131ffc3196c5940f5e239e5b061eb4c9aefe2039 (diff) | |
download | openttd-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.cpp | 2 |
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(); |