summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-09 21:20:05 +0000
committerrubidium <rubidium@openttd.org>2009-02-09 21:20:05 +0000
commit5c8cf856136922426be87d778d525e024813648c (patch)
treea4f2317ed234736c522ee05672396684eadbc141 /src/misc_gui.cpp
parent545804b67a6b945727695afe1438f1a11b71c610 (diff)
downloadopenttd-5c8cf856136922426be87d778d525e024813648c.tar.xz
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index be1f8086c..ba1d3a1e9 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -94,7 +94,7 @@ public:
Money old_money = c->money;
c->money = INT64_MAX;
- CommandCost costclear = DoCommand(tile, 0, 0, 0, CMD_LANDSCAPE_CLEAR);
+ CommandCost costclear = DoCommand(tile, 0, 0, DC_NONE, CMD_LANDSCAPE_CLEAR);
c->money = old_money;
/* Because build_date is not set yet in every TileDesc, we make sure it is empty */