diff options
author | tron <tron@openttd.org> | 2006-02-01 19:53:17 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-02-01 19:53:17 +0000 |
commit | 21fb5b5150672011d9bc57e227f6d6747a8938de (patch) | |
tree | 72bc2cd501c6edd86ab40cc1bce06b8d7f3d7565 /tree_cmd.c | |
parent | 272a27b795776e42ae33d38f42bb648e0ac227e8 (diff) | |
download | openttd-21fb5b5150672011d9bc57e227f6d6747a8938de.tar.xz |
(svn r3516) Fix embarrassing bug in r3514
Diffstat (limited to 'tree_cmd.c')
-rw-r--r-- | tree_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tree_cmd.c b/tree_cmd.c index ca84a57e8..8fbf4a670 100644 --- a/tree_cmd.c +++ b/tree_cmd.c @@ -581,9 +581,9 @@ void OnTick_Trees(void) int m2; switch (ct) { - case CL_GRASS: m2 = 0; - case CL_ROUGH: m2 = 0x10; - default: m2 = (GetClearDensity(tile) << 6) | 0x20; + case CL_GRASS: m2 = 0; break; + case CL_ROUGH: m2 = 0x10; break; + default: m2 = (GetClearDensity(tile) << 6) | 0x20; break; } ModifyTile(tile, |