(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
This commit is contained in:
@@ -52,7 +52,7 @@ static inline TransportType GetTunnelBridgeTransportType(TileIndex t)
|
||||
static inline bool HasTunnelBridgeSnowOrDesert(TileIndex t)
|
||||
{
|
||||
assert(IsTileType(t, MP_TUNNELBRIDGE));
|
||||
return HasBit(_m[t].m4, 7);
|
||||
return HasBit(_me[t].m7, 5);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -66,7 +66,7 @@ static inline bool HasTunnelBridgeSnowOrDesert(TileIndex t)
|
||||
static inline void SetTunnelBridgeSnowOrDesert(TileIndex t, bool snow_or_desert)
|
||||
{
|
||||
assert(IsTileType(t, MP_TUNNELBRIDGE));
|
||||
SB(_m[t].m4, 7, 1, snow_or_desert);
|
||||
SB(_me[t].m7, 5, 1, snow_or_desert);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user