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/station_map.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/station_map.h') diff --git a/src/station_map.h b/src/station_map.h index d9b0499e4..e706dd2a6 100644 --- a/src/station_map.h +++ b/src/station_map.h @@ -314,7 +314,9 @@ static inline void MakeStation(TileIndex t, Owner o, StationID sid, StationType _m[t].m3 = 0; _m[t].m4 = 0; _m[t].m5 = section; + SB(_m[t].m6, 2, 1, 0); SB(_m[t].m6, 3, 3, st); + _me[t].m7 = 0; } static inline void MakeRailStation(TileIndex t, Owner o, StationID sid, Axis a, byte section, RailType rt) -- cgit v1.2.3-54-g00ecf