1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Properly set new tile elements to 0

This commit is contained in:
Gymnasiast
2018-09-17 22:52:23 +02:00
parent 67d7d5c022
commit 5d260ea85b

View File

@@ -3369,6 +3369,7 @@ rct_tile_element* tile_element_insert(int32_t x, int32_t y, int32_t z, int32_t f
// Insert new map element
insertedElement = newTileElement;
newTileElement->type = 0;
newTileElement->base_height = z;
newTileElement->flags = flags;
newTileElement->clearance_height = z;