diff options
author | darkvater <darkvater@openttd.org> | 2005-01-04 00:53:52 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-04 00:53:52 +0000 |
commit | d088cb6131e17f0ce1182af8ed023a67ce40a5ff (patch) | |
tree | aa8ddd3bb700c5ac3900a2cc6ac809866e4a27a1 | |
parent | d3454832c791fd7d9e31bbef8c5e107f3a83eaed (diff) | |
download | openttd-d088cb6131e17f0ce1182af8ed023a67ce40a5ff.tar.xz |
(svn r1366) -Fix: [1093186] rough land in snow upon dying of tree
-rw-r--r-- | tree_cmd.c | 4 |
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; |