diff options
author | rubidium <rubidium@openttd.org> | 2014-09-21 11:23:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-09-21 11:23:33 +0000 |
commit | 982f5a6aa2f600106f9bd292ebefcef52e6e65e6 (patch) | |
tree | 781d2ce0c99ac2261c600ef0a0b427a86ce3ffbc /src/tunnel_map.h | |
parent | 18b98afabdc04874942b451b281ad28be967d1ae (diff) | |
download | openttd-982f5a6aa2f600106f9bd292ebefcef52e6e65e6.tar.xz |
(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus better alignable
Diffstat (limited to 'src/tunnel_map.h')
-rw-r--r-- | src/tunnel_map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tunnel_map.h b/src/tunnel_map.h index c4f68f729..e200a1275 100644 --- a/src/tunnel_map.h +++ b/src/tunnel_map.h @@ -56,7 +56,7 @@ static inline void MakeRoadTunnel(TileIndex t, Owner o, DiagDirection d, RoadTyp _m[t].m3 = 0; _m[t].m4 = 0; _m[t].m5 = TRANSPORT_ROAD << 2 | d; - SB(_m[t].m6, 2, 4, 0); + SB(_me[t].m6, 2, 4, 0); _me[t].m7 = 0; SetRoadOwner(t, ROADTYPE_ROAD, o); if (o != OWNER_TOWN) SetRoadOwner(t, ROADTYPE_TRAM, o); @@ -78,7 +78,7 @@ static inline void MakeRailTunnel(TileIndex t, Owner o, DiagDirection d, RailTyp _m[t].m3 = r; _m[t].m4 = 0; _m[t].m5 = TRANSPORT_RAIL << 2 | d; - SB(_m[t].m6, 2, 4, 0); + SB(_me[t].m6, 2, 4, 0); _me[t].m7 = 0; } |