mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r9958) -Fix (r9892): upgrading old savegames made (road)bridges unuseable.
This commit is contained in:
parent
2dd0ba36cb
commit
7f0339748f
@ -1468,7 +1468,7 @@ bool AfterLoadGame()
|
||||
break;
|
||||
|
||||
case MP_TUNNELBRIDGE:
|
||||
if ((IsTunnel(t) ? GetTunnelTransportType(t) : GetBridgeTransportType(t)) == TRANSPORT_ROAD) {
|
||||
if ((IsTunnel(t) ? GetTunnelTransportType(t) : (TransportType)GB(_m[t].m5, 1, 2)) == TRANSPORT_ROAD) {
|
||||
SetRoadTypes(t, ROADTYPES_ROAD);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user