forked from mirror/OpenTTD
(svn r4216) -Fix: Fixed revision 4214, did a bad error there. Thanks MiHaMiX for pointing it out
This commit is contained in:
2
elrail.c
2
elrail.c
@@ -101,7 +101,7 @@ static TrackBits GetRailTrackBitsUniversal(TileIndex t, byte *override)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
case MP_STREET:
|
case MP_STREET:
|
||||||
if (!GetRoadType(t) == ROAD_CROSSING) return 0;
|
if (GetRoadType(t) != ROAD_CROSSING) return 0;
|
||||||
if (GetRailTypeCrossing(t) != RAILTYPE_ELECTRIC) return 0;
|
if (GetRailTypeCrossing(t) != RAILTYPE_ELECTRIC) return 0;
|
||||||
return GetCrossingRailBits(t);
|
return GetCrossingRailBits(t);
|
||||||
case MP_STATION:
|
case MP_STATION:
|
||||||
|
Reference in New Issue
Block a user