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