forked from rosebudai/OpenRCT2-Web
Properly set new tile elements to 0
This commit is contained in:
1 parent
67d7d5c022
commit
5d260ea85b
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user