mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Fix clang-format
This commit is contained in:
@@ -1773,7 +1773,8 @@ CoordsXY screen_get_map_xy(ScreenCoordsXY screenCoords, rct_viewport** viewport)
|
||||
int32_t interactionType;
|
||||
rct_viewport* myViewport = nullptr;
|
||||
get_map_coordinates_from_pos(
|
||||
screenCoords.x, screenCoords.y, VIEWPORT_INTERACTION_MASK_TERRAIN, &my_x, &my_y, &interactionType, nullptr, &myViewport);
|
||||
screenCoords.x, screenCoords.y, VIEWPORT_INTERACTION_MASK_TERRAIN, &my_x, &my_y, &interactionType, nullptr,
|
||||
&myViewport);
|
||||
if (interactionType == VIEWPORT_INTERACTION_ITEM_NONE)
|
||||
{
|
||||
return { LOCATION_NULL, 0 };
|
||||
|
||||
Reference in New Issue
Block a user