1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00

Fix Testpaint

This commit is contained in:
Gymnasiast
2018-09-13 19:40:07 +02:00
parent a31176b7e7
commit d0f4b45bd2
3 changed files with 4 additions and 4 deletions

View File

@@ -291,7 +291,7 @@ static void track_design_save_push_tile_element_desc(
static void track_design_save_add_scenery(int32_t x, int32_t y, rct_tile_element* tileElement)
{
SmallSceneryElement * sceneryElement = tileElement->AsSmallScenery();
SmallSceneryElement* sceneryElement = tileElement->AsSmallScenery();
int32_t entryType = sceneryElement->GetEntryIndex();
auto entry = object_entry_get_entry(OBJECT_TYPE_SMALL_SCENERY, entryType);