mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
Replace more direct accesses to base/clearance Z with getter/setter (#10454)
This commit is contained in:
committed by
GitHub
parent
26cce7e82b
commit
8ca0cf52a7
@@ -263,7 +263,7 @@ static void sub_68B3FB(paint_session* session, int32_t x, int32_t y)
|
||||
TileElement* tile_element_sub_iterator = tile_element;
|
||||
while (!(tile_element_sub_iterator++)->IsLastForTile())
|
||||
{
|
||||
if (tile_element_sub_iterator->base_height != tile_element->base_height)
|
||||
if (tile_element_sub_iterator->GetBaseZ() != tile_element->GetBaseZ())
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user