mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix Clear Scenery refunding ghost tile elements (#10941)
This commit is contained in:
parent
7219c880e2
commit
e32518208f
|
@ -34,6 +34,7 @@
|
|||
- Fix: [#10822] Can place too many peep spawns.
|
||||
- Fix: [#10898] Banner text has an offset in tile inspector window.
|
||||
- Fix: [#10904] RCT1/LL-scenarios with red water won't open.
|
||||
- Fix: [#10941] The Clear Scenery tool gives refunds for ghost elements.
|
||||
- Improved: [#682] The staff patrol area is now drawn on the water, instead of on the surface under water.
|
||||
- Improved: [#10858] Added horizontal grid lines to finance charts.
|
||||
- Improved: [#10884] Added y-axes and labels to park window charts.
|
||||
|
|
|
@ -148,6 +148,9 @@ private:
|
|||
return totalCost;
|
||||
do
|
||||
{
|
||||
if (tileElement->IsGhost())
|
||||
continue;
|
||||
|
||||
auto type = tileElement->GetType();
|
||||
switch (type)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue