summaryrefslogtreecommitdiff
path: root/src/tree_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-07-19 15:51:06 +0000
committerrubidium <rubidium@openttd.org>2010-07-19 15:51:06 +0000
commit3bb544e54d45d71dee6418c5462137c67a4ea698 (patch)
tree627916f20f4a8faeeea87ad05c785bc0cea66c4d /src/tree_cmd.cpp
parent45213e5708b3a8ece9fae32951d908db3bf5c732 (diff)
downloadopenttd-3bb544e54d45d71dee6418c5462137c67a4ea698.tar.xz
(svn r20184) -Codechange: make _trees_tick_ctr and _disaster_delay not use VARDEF and put them in a more logical location
Diffstat (limited to 'src/tree_cmd.cpp')
-rw-r--r--src/tree_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp
index 1a3fe87f5..78c771b0b 100644
--- a/src/tree_cmd.cpp
+++ b/src/tree_cmd.cpp
@@ -52,6 +52,8 @@ enum ExtraTreePlacement {
ETP_ALL, ///< Place trees on all tiles
};
+/** Determines when to consider building more trees. */
+byte _trees_tick_ctr;
/**
* Tests if a tile can be converted to MP_TREES