(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus better alignable

This commit is contained in:
rubidium
2014-09-21 11:23:33 +00:00
parent 18b98afabd
commit 982f5a6aa2
17 changed files with 72 additions and 71 deletions

View File

@@ -525,7 +525,7 @@ static inline void MakeRailNormal(TileIndex t, Owner o, TrackBits b, RailType r)
_m[t].m3 = r;
_m[t].m4 = 0;
_m[t].m5 = RAIL_TILE_NORMAL << 6 | b;
SB(_m[t].m6, 2, 4, 0);
SB(_me[t].m6, 2, 4, 0);
_me[t].m7 = 0;
}
@@ -538,7 +538,7 @@ static inline void MakeRailDepot(TileIndex t, Owner o, DepotID did, DiagDirectio
_m[t].m3 = r;
_m[t].m4 = 0;
_m[t].m5 = RAIL_TILE_DEPOT << 6 | d;
SB(_m[t].m6, 2, 4, 0);
SB(_me[t].m6, 2, 4, 0);
_me[t].m7 = 0;
}