1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 09:14:58 +01:00

Don't generate cable lift case for non-giga coaster

This commit is contained in:
Ted John
2016-10-09 01:06:13 +01:00
parent b0995be156
commit 5f3130b945

View File

@@ -351,7 +351,7 @@ private:
GetTunnelCalls(trackType, direction, trackSequence, height, &mapElement, tileTunnelCalls);
}
if (!CompareFunctionCalls(calls, cableLiftCalls))
if (_rideType == RIDE_TYPE_GIGA_COASTER && !CompareFunctionCalls(calls, cableLiftCalls))
{
WriteLine(tabs, "if (track_element_is_cable_lift(mapElement)) {");
GenerateCalls(tabs + 1, cableLiftCalls, height);