1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 11:45:13 +01:00

Fix #25552: Clear Scenery does not show an error message about insufficient money if cash is negative

This commit is contained in:
Michael Steenbeek
2025-11-28 17:53:41 +01:00
committed by GitHub
parent 23da3c6b46
commit 762d4fa7de
2 changed files with 17 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
- Fix: [#22484] Lingering ghost entrance after placing park entrance.
- Fix: [#24952] Duplicate track designs when running via Steam without having RCT1 linked.
- Fix: [#25524] The track construction arrow does not immediately change position when deleting track pieces.
- Fix: [#25552] Clear Scenery does not show an error message about insufficient money if cash is negative.
- Fix: [#25565] Chairlift station ends are missing tunnels at certain rotations.
- Fix: [#25569] Placing park entrances in multiplayer does not show for other players, causing desyncs.

View File

@@ -154,6 +154,10 @@ namespace OpenRCT2::GameActions
totalCost += res.Cost;
tileEdited = executing;
}
else if (res.Error == Status::InsufficientFunds)
{
totalCost += res.Cost;
}
}
break;
case TileElementType::SmallScenery:
@@ -172,6 +176,10 @@ namespace OpenRCT2::GameActions
totalCost += res.Cost;
tileEdited = executing;
}
else if (res.Error == Status::InsufficientFunds)
{
totalCost += res.Cost;
}
}
break;
case TileElementType::Wall:
@@ -189,6 +197,10 @@ namespace OpenRCT2::GameActions
totalCost += res.Cost;
tileEdited = executing;
}
else if (res.Error == Status::InsufficientFunds)
{
totalCost += res.Cost;
}
}
break;
case TileElementType::LargeScenery:
@@ -207,6 +219,10 @@ namespace OpenRCT2::GameActions
totalCost += res.Cost;
tileEdited = executing;
}
else if (res.Error == Status::InsufficientFunds)
{
totalCost += res.Cost;
}
}
break;
default: