1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 18:55:23 +01:00

Remove fallthrough annotations in TrackPlaceAction::Execute

This commit is contained in:
mix
2025-06-12 06:14:27 +01:00
parent 8d2309a4c2
commit f73a7b64d9

View File

@@ -594,16 +594,12 @@ GameActions::Result TrackPlaceAction::Execute() const
switch (_trackType)
{
case TrackElemType::Waterfall:
[[fallthrough]];
case TrackElemType::Rapids:
[[fallthrough]];
case TrackElemType::Whirlpool:
[[fallthrough]];
case TrackElemType::SpinningTunnel:
MapAnimations::MarkTileForInvalidation(TileCoordsXY(mapLoc));
break;
case TrackElemType::Brakes:
[[fallthrough]];
case TrackElemType::DiagBrakes:
trackElement->SetBrakeClosed(true);
break;