diff options
author | tron <tron@openttd.org> | 2006-02-13 21:15:00 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-02-13 21:15:00 +0000 |
commit | ea73b466844a048f9f55b933f243ec19bdaaa18c (patch) | |
tree | 19340b96ef341c9784a27b719a1a90c2c691ca56 /tree_cmd.c | |
parent | 235e72829e55cbb1e7632fe1b2d1429f6f3be054 (diff) | |
download | openttd-ea73b466844a048f9f55b933f243ec19bdaaa18c.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.c | 2 |
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 && |