summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-04 00:53:52 +0000
committerdarkvater <darkvater@openttd.org>2005-01-04 00:53:52 +0000
commitcdfb3d5113b732baedee91d7345f4e434332efb5 (patch)
treeaa8ddd3bb700c5ac3900a2cc6ac809866e4a27a1
parent3a48ab4c54b3d7edad8d28c916b2433caa4749aa (diff)
downloadopenttd-cdfb3d5113b732baedee91d7345f4e434332efb5.tar.xz
(svn r1366) -Fix: [1093186] rough land in snow upon dying of tree
-rw-r--r--tree_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree_cmd.c b/tree_cmd.c
index 0aeea1a3e..1f39d58e2 100644
--- a/tree_cmd.c
+++ b/tree_cmd.c
@@ -553,9 +553,9 @@ static void TileLoop_Trees(uint tile)
m5 = 3;
m2 = _map2[tile];
- if ((m2&0x30) != 0) {
+ if ((m2&0x30) != 0) { // on snow/desert or rough land
m5 = (m2 >> 6) | 0x10;
- if (m2 != 0x20)
+ if ((m2&0x30) != 0x20) // if not on snow/desert, then on rough land
m5 = 7;
}
_map_owner[tile] = OWNER_NONE;