summaryrefslogtreecommitdiff
path: root/tree_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tree_cmd.c')
-rw-r--r--tree_cmd.c6
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,