diff options
author | Peter Nelson <peter1138@openttd.org> | 2018-07-22 23:47:15 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2018-07-26 13:27:40 +0100 |
commit | 5db883fbe9b8ef6171bfafc145a80932c3920504 (patch) | |
tree | de3ec131897c708f3fd960e9bc7cb1865d32fe7e /src/road_map.h | |
parent | 65548c37a840ca48378180df1bf8857b087f7329 (diff) | |
download | openttd-5db883fbe9b8ef6171bfafc145a80932c3920504.tar.xz |
Change: Move rail type bits from m3 to m8.
Diffstat (limited to 'src/road_map.h')
-rw-r--r-- | src/road_map.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/road_map.h b/src/road_map.h index 693730294..5b3e6b090 100644 --- a/src/road_map.h +++ b/src/road_map.h @@ -579,11 +579,12 @@ static inline void MakeRoadCrossing(TileIndex t, Owner road, Owner tram, Owner r SetTileType(t, MP_ROAD); SetTileOwner(t, rail); _m[t].m2 = town; - _m[t].m3 = rat; + _m[t].m3 = 0; _m[t].m4 = 0; _m[t].m5 = ROAD_TILE_CROSSING << 6 | roaddir; SB(_me[t].m6, 2, 4, 0); _me[t].m7 = rot << 6 | road; + _me[t].m8 = rat; SetRoadOwner(t, ROADTYPE_TRAM, tram); } |