mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-18 13:14:34 +00:00
(svn r3949) - Revert r3467, was total nonesense, my fault. Backport of r3532 from trunk
This commit is contained in:
parent
5f2e2ef32a
commit
af0fb58264
@ -500,6 +500,8 @@ static void TileLoop_Trees(TileIndex tile)
|
||||
/* fall through */
|
||||
|
||||
case 2: { /* add a neighbouring tree */
|
||||
byte m3 = _m[tile].m3;
|
||||
|
||||
tile += ToTileIndexDiff(_tileloop_trees_dir[Random() & 7]);
|
||||
|
||||
if (!IsTileType(tile, MP_CLEAR)) return;
|
||||
@ -513,6 +515,7 @@ static void TileLoop_Trees(TileIndex tile)
|
||||
_m[tile].m2 = 0;
|
||||
}
|
||||
|
||||
_m[tile].m3 = m3;
|
||||
_m[tile].m4 = 0;
|
||||
SetTileType(tile, MP_TREES);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user