Fix road/tram catenary not being drawn on custom bridge heads
This commit is contained in:
@@ -1651,6 +1651,9 @@ void DrawRoadCatenary(const TileInfo *ti)
|
|||||||
tram = road = DiagDirToRoadBits(GetRoadStopDir(ti->tile));
|
tram = road = DiagDirToRoadBits(GetRoadStopDir(ti->tile));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (IsTileType(ti->tile, MP_TUNNELBRIDGE)) {
|
||||||
|
road = GetCustomBridgeHeadRoadBits(ti->tile, RTT_ROAD);
|
||||||
|
tram = GetCustomBridgeHeadRoadBits(ti->tile, RTT_TRAM);
|
||||||
} else {
|
} else {
|
||||||
// No road here, no catenary to draw
|
// No road here, no catenary to draw
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user