summaryrefslogtreecommitdiff
path: root/tree_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-13 21:15:00 +0000
committertron <tron@openttd.org>2006-02-13 21:15:00 +0000
commit5352e9fbcbd3b4dca63746f5cf74b1541b8ebb6c (patch)
tree19340b96ef341c9784a27b719a1a90c2c691ca56 /tree_cmd.c
parent8744075a6cb64578f7e255220d76b77b26eb1a45 (diff)
downloadopenttd-5352e9fbcbd3b4dca63746f5cf74b1541b8ebb6c.tar.xz
(svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff
Diffstat (limited to 'tree_cmd.c')
-rw-r--r--tree_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree_cmd.c b/tree_cmd.c
index 31c010f72..076e1efdb 100644
--- a/tree_cmd.c
+++ b/tree_cmd.c
@@ -538,7 +538,7 @@ void OnTick_Trees(void)
uint32 r;
TileIndex tile;
ClearGround ct;
- int tree;
+ TreeType tree;
/* place a tree at a random rainforest spot */
if (_opt.landscape == LT_DESERT &&