mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
More MSVC fixes
This commit is contained in:
@@ -465,7 +465,7 @@ static void cheat_own_all_land()
|
||||
sint32 x = spawn.x;
|
||||
sint32 y = spawn.y;
|
||||
if (x != PEEP_SPAWN_UNDEFINED) {
|
||||
rct_tile_element * surfaceElement = map_get_surface_element_at((BigCoordsXY){x, y});
|
||||
rct_tile_element * surfaceElement = map_get_surface_element_at({x, y});
|
||||
surfaceElement->properties.surface.ownership = OWNERSHIP_UNOWNED;
|
||||
update_park_fences_around_tile(x, y);
|
||||
uint16 baseHeight = surfaceElement->base_height * 8;
|
||||
|
||||
@@ -787,7 +787,7 @@ void path_paint(paint_session * session, uint8 direction, uint16 height, const r
|
||||
|
||||
sint16 x = session->MapPosition.x, y = session->MapPosition.y;
|
||||
|
||||
rct_tile_element * surface = map_get_surface_element_at((BigCoordsXY){session->MapPosition.x, session->MapPosition.y});
|
||||
rct_tile_element * surface = map_get_surface_element_at({session->MapPosition.x, session->MapPosition.y});
|
||||
|
||||
uint16 bl = height / 8;
|
||||
if (surface == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user