mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
Fix error in RideDemolishAction.hpp
This commit is contained in:
@@ -288,11 +288,11 @@ private:
|
||||
|
||||
if (tile_type == TILE_ELEMENT_TYPE_ENTRANCE)
|
||||
{
|
||||
uint8_t type = track_element_get_type(it.element);
|
||||
uint8_t type = entrance_element_get_type(it.element);
|
||||
if (type == ENTRANCE_TYPE_PARK_ENTRANCE)
|
||||
continue;
|
||||
|
||||
if (track_element_get_ride_index(it.element) == _rideIndex)
|
||||
if (it.element->properties.entrance.ride_index == _rideIndex)
|
||||
{
|
||||
tile_element_remove(it.element);
|
||||
tile_element_iterator_restart_for_tile(&it);
|
||||
|
||||
Reference in New Issue
Block a user