mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 13:03:11 +01:00
Port remaining wall stuff to struct methods
This commit is contained in:
@@ -354,7 +354,7 @@ static void track_design_save_add_large_scenery(int32_t x, int32_t y, rct_tile_e
|
||||
|
||||
static void track_design_save_add_wall(int32_t x, int32_t y, rct_tile_element* tileElement)
|
||||
{
|
||||
int32_t entryType = tileElement->properties.wall.type;
|
||||
int32_t entryType = tileElement->AsWall()->GetEntryIndex();
|
||||
auto entry = object_entry_get_entry(OBJECT_TYPE_WALLS, entryType);
|
||||
|
||||
uint8_t flags = 0;
|
||||
@@ -542,7 +542,7 @@ static void track_design_save_remove_large_scenery(int32_t x, int32_t y, rct_til
|
||||
|
||||
static void track_design_save_remove_wall(int32_t x, int32_t y, rct_tile_element* tileElement)
|
||||
{
|
||||
int32_t entryType = tileElement->properties.wall.type;
|
||||
int32_t entryType = tileElement->AsWall()->GetEntryIndex();
|
||||
auto entry = object_entry_get_entry(OBJECT_TYPE_WALLS, entryType);
|
||||
|
||||
uint8_t flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user