1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Fix: “Remove litter” cheat does not empty litter bins

This commit is contained in:
Michael Steenbeek
2022-04-27 23:17:23 +02:00
committed by GitHub
parent 2954b0a30d
commit f127a2c8bc
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
- Fix: [#16974] Small scenery ghosts can be deleted.
- Fix: [#17005] Unable to set patrol area for first staff member in park.
- Fix: [#17073] Corrupt ride window and random crashes when trains have more than 144 cars.
- Fix: [#17080] “Remove litter” cheat does not empty litter bins.
- Improved: [#17050] Transparency can be enabled directly without needing see-through enabled first.
- Removed: [#16864] Title sequence editor (replaced by plug-in).

View File

@@ -426,7 +426,7 @@ void SetCheatAction::RemoveLitter() const
continue;
auto* path = it.element->AsPath();
if (path->HasAddition())
if (!path->HasAddition())
continue;
auto* pathBitEntry = path->GetAdditionEntry();