summaryrefslogtreecommitdiff
path: root/src/station_map.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-03-08 16:10:39 +0000
committersmatz <smatz@openttd.org>2009-03-08 16:10:39 +0000
commite57699d8c0eea4021e84e61e93455bdf47139dad (patch)
tree093e5d2cab6ed85f891e85bb8d9947464dbc8706 /src/station_map.h
parentf5b24edc1e33a43c6bd725482b9150f22414f2f2 (diff)
downloadopenttd-e57699d8c0eea4021e84e61e93455bdf47139dad.tar.xz
(svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits
Diffstat (limited to 'src/station_map.h')
-rw-r--r--src/station_map.h2
1 files changed, 2 insertions, 0 deletions
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)