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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user