From 5fed533ce83a6f5371d0753593b622a97ffcd313 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sun, 29 Jan 2006 10:57:23 +0000 Subject: (svn r3467) - CodeChange: Remove an useless assignment (reads a value and just writes it back)" tree_cmd.c --- tree_cmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tree_cmd.c b/tree_cmd.c index 51a5cfe06..2863061cb 100644 --- a/tree_cmd.c +++ b/tree_cmd.c @@ -500,8 +500,6 @@ 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; @@ -515,7 +513,6 @@ static void TileLoop_Trees(TileIndex tile) _m[tile].m2 = 0; } - _m[tile].m3 = m3; _m[tile].m4 = 0; SetTileType(tile, MP_TREES); -- cgit v1.2.3-70-g09d2