Properly set new tile elements to 0

This commit is contained in:
Gymnasiast committed 2018-09-25 21:57:21 +02:00
1 parent 67d7d5c022
commit 5d260ea85b
1 file changed
+1
+1
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;