From b36f89bc51cbd9feba3b73bd5f39af7286cc669a Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 4 Feb 2006 11:53:31 +0000 Subject: (svn r3532) Revert r3467, was total nonesense, my fault --- tree_cmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tree_cmd.c b/tree_cmd.c index 174bfd8d6..52a834df0 100644 --- a/tree_cmd.c +++ b/tree_cmd.c @@ -493,6 +493,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; @@ -508,6 +510,7 @@ static void TileLoop_Trees(TileIndex tile) default: return; } + _m[tile].m3 = m3; _m[tile].m4 = 0; SetTileType(tile, MP_TREES); -- cgit v1.2.3-70-g09d2