summaryrefslogtreecommitdiff
path: root/src/tree_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-23 15:24:15 +0000
committerrubidium <rubidium@openttd.org>2008-09-23 15:24:15 +0000
commit6a931d67cdcc98557efeabab4e0337150fab3541 (patch)
tree5750d793f5ad84cfe126c7054b76cb5950f64300 /src/tree_gui.cpp
parentff76ef6a0a89b4a2e97737f2fb9251d9e5ec854e (diff)
downloadopenttd-6a931d67cdcc98557efeabab4e0337150fab3541.tar.xz
(svn r14390) -Codechange: replace magic constants with symbolic constants.
Diffstat (limited to 'src/tree_gui.cpp')
-rw-r--r--src/tree_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp
index 08ef815bf..460549c4d 100644
--- a/src/tree_gui.cpp
+++ b/src/tree_gui.cpp
@@ -111,7 +111,7 @@ public:
case BTW_MANY_RANDOM: // place trees randomly over the landscape
this->LowerWidget(BTW_MANY_RANDOM);
- this->flags4 |= 5 << WF_TIMEOUT_SHL;
+ this->flags4 |= WF_TIMEOUT_BEGIN;
SndPlayFx(SND_15_BEEP);
PlaceTreesRandomly();
MarkWholeScreenDirty();