mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
Split drawing of path and railing
This commit is contained in:
committed by
GitHub
parent
0ee1811faa
commit
b5317ee9e9
@@ -370,7 +370,7 @@ static void track_design_save_add_wall(int32_t x, int32_t y, TileElement* tileEl
|
||||
|
||||
static void track_design_save_add_footpath(int32_t x, int32_t y, TileElement* tileElement)
|
||||
{
|
||||
int32_t entryType = tileElement->AsPath()->GetEntryIndex();
|
||||
int32_t entryType = tileElement->AsPath()->GetPathEntryIndex();
|
||||
auto entry = object_entry_get_entry(OBJECT_TYPE_PATHS, entryType);
|
||||
|
||||
uint8_t flags = 0;
|
||||
@@ -557,7 +557,7 @@ static void track_design_save_remove_wall(int32_t x, int32_t y, TileElement* til
|
||||
|
||||
static void track_design_save_remove_footpath(int32_t x, int32_t y, TileElement* tileElement)
|
||||
{
|
||||
int32_t entryType = tileElement->AsPath()->GetEntryIndex();
|
||||
int32_t entryType = tileElement->AsPath()->GetPathEntryIndex();
|
||||
auto entry = object_entry_get_entry(OBJECT_TYPE_PATHS, entryType);
|
||||
|
||||
uint8_t flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user