mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r1345) Only copy the lowest two bits (amount of snow/desert) from map5 to map2 when placing trees, before this happened implicitly because map2 was just 8 bits wide
This commit is contained in:
parent
c0702318d2
commit
afb6e5441d
@ -521,7 +521,7 @@ static void TileLoop_Trees(uint tile)
|
||||
if ( (_map5[tile] & 0x1C) == 4) {
|
||||
_map2[tile] = 0x10;
|
||||
} else if ((_map5[tile] & 0x1C) == 16) {
|
||||
_map2[tile] = (_map5[tile] << 6) | 0x20;
|
||||
_map2[tile] = ((_map5[tile] & 3) << 6) | 0x20;
|
||||
} else {
|
||||
if ((_map5[tile] & 0x1F) != 3)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user