mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
fixed list issue after removing element.
This commit is contained in:
@@ -184,6 +184,7 @@ void remove_element(int index)
|
||||
rct_map_element *mapElement = map_get_first_element_at(window_tile_inspector_tile_x, window_tile_inspector_tile_y);
|
||||
mapElement += index;
|
||||
map_element_remove(mapElement);
|
||||
window_tile_inspector_item_count--;
|
||||
}
|
||||
|
||||
// Swap element with its parent
|
||||
|
||||
Reference in New Issue
Block a user