summaryrefslogtreecommitdiff
path: root/src/command_type.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-09-05 16:00:36 +0000
committeryexo <yexo@openttd.org>2010-09-05 16:00:36 +0000
commit0e250f2bdfc8eb7f435f59398766f7774e31610c (patch)
tree40f51747f1d8d65476c8bfe8e735c8dc53c49307 /src/command_type.h
parent323c526a4d344025b3ba30ade5923c0d41431d8c (diff)
downloadopenttd-0e250f2bdfc8eb7f435f59398766f7774e31610c.tar.xz
(svn r20748) -Fix: overbuilding an object tile with sea under it with a canal didn't take the cost for clearing the sea into account
Diffstat (limited to 'src/command_type.h')
-rw-r--r--src/command_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command_type.h b/src/command_type.h
index 93e149777..41e6cf970 100644
--- a/src/command_type.h
+++ b/src/command_type.h
@@ -293,6 +293,7 @@ enum DoCommandFlag {
DC_AUTOREPLACE = 0x080, ///< autoreplace/autorenew is in progress, this shall disable vehicle limits when building, and ignore certain restrictions when undoing things (like vehicle attach callback)
DC_ALL_TILES = 0x100, ///< allow this command also on MP_VOID tiles
DC_NO_MODIFY_TOWN_RATING = 0x200, ///< do not change town rating
+ DC_FORCE_CLEAR_TILE = 0x400, ///< do not only remove the object on the tile, but also clear any water left on it
};
DECLARE_ENUM_AS_BIT_SET(DoCommandFlag)