From e124aa8fd62f3260d2a127aab1e9bc6f5a303480 Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 8 Mar 2009 16:10:39 +0000 Subject: (svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits --- src/tree_map.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tree_map.h') diff --git a/src/tree_map.h b/src/tree_map.h index f63c53f2f..ab2fef701 100644 --- a/src/tree_map.h +++ b/src/tree_map.h @@ -274,6 +274,8 @@ static inline void MakeTree(TileIndex t, TreeType type, uint count, uint growth, _m[t].m3 = type; _m[t].m4 = 0 << 5 | 0 << 2; _m[t].m5 = count << 6 | growth; + SB(_m[t].m6, 2, 4, 0); + _me[t].m7 = 0; } #endif /* TREE_MAP_H */ -- cgit v1.2.3-54-g00ecf