forked from mirror/OpenTTD
(svn r3532) Revert r3467, was total nonesense, my fault
This commit is contained in:
@@ -493,6 +493,8 @@ static void TileLoop_Trees(TileIndex tile)
|
|||||||
/* fall through */
|
/* fall through */
|
||||||
|
|
||||||
case 2: { /* add a neighbouring tree */
|
case 2: { /* add a neighbouring tree */
|
||||||
|
byte m3 = _m[tile].m3;
|
||||||
|
|
||||||
tile += ToTileIndexDiff(_tileloop_trees_dir[Random() & 7]);
|
tile += ToTileIndexDiff(_tileloop_trees_dir[Random() & 7]);
|
||||||
|
|
||||||
if (!IsTileType(tile, MP_CLEAR)) return;
|
if (!IsTileType(tile, MP_CLEAR)) return;
|
||||||
@@ -508,6 +510,7 @@ static void TileLoop_Trees(TileIndex tile)
|
|||||||
default: return;
|
default: return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_m[tile].m3 = m3;
|
||||||
_m[tile].m4 = 0;
|
_m[tile].m4 = 0;
|
||||||
SetTileType(tile, MP_TREES);
|
SetTileType(tile, MP_TREES);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user