1
0
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:
Michael Steenbeek
2019-01-02 19:52:53 +01:00
committed by GitHub
parent 0ee1811faa
commit b5317ee9e9
11 changed files with 68 additions and 44 deletions

View File

@@ -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;