1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Diagonal Brakes and Block Brakes

This commit is contained in:
spacek531
2022-01-28 00:46:35 -08:00
committed by Spacek531
parent 39ecab4bd2
commit 79730e50fd
89 changed files with 1335 additions and 147 deletions

View File

@@ -463,6 +463,7 @@ GameActions::Result TrackRemoveAction::Execute() const
ride->lifecycle_flags &= ~RIDE_LIFECYCLE_CABLE_LIFT_HILL_COMPONENT_USED;
break;
case TrackElemType::BlockBrakes:
case TrackElemType::DiagBlockBrakes:
ride->num_block_brakes--;
if (ride->num_block_brakes == 0)
{