author | tron |
Sat, 04 Feb 2006 11:53:31 +0000 | |
changeset 2968 | b17821f292cb |
parent 2967 | 4208a82bf0d9 |
child 2969 | 5084e1f56125 |
tree_cmd.c | file | annotate | diff | comparison | revisions |
--- a/tree_cmd.c Fri Feb 03 23:02:01 2006 +0000 +++ b/tree_cmd.c Sat Feb 04 11:53:31 2006 +0000 @@ -493,6 +493,8 @@ /* 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 @@ default: return; } + _m[tile].m3 = m3; _m[tile].m4 = 0; SetTileType(tile, MP_TREES);