From ea73b466844a048f9f55b933f243ec19bdaaa18c Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 13 Feb 2006 21:15:00 +0000 Subject: (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 --- tree_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tree_cmd.c') 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 && -- cgit v1.2.3-54-g00ecf