mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Remove argument list from zero-initializers with zero/false/nullptr value
This commit is contained in:
@@ -464,7 +464,7 @@ static sint32 cc_get(InteractiveConsole &console, const utf8 **argv, sint32 argc
|
||||
if (w != nullptr) {
|
||||
sint32 interactionType;
|
||||
rct_tile_element *tileElement;
|
||||
LocationXY16 mapCoord = { 0 };
|
||||
LocationXY16 mapCoord = {};
|
||||
rct_viewport * viewport = window_get_viewport(w);
|
||||
get_map_coordinates_from_pos(viewport->view_width / 2, viewport->view_height / 2, VIEWPORT_INTERACTION_MASK_TERRAIN, &mapCoord.x, &mapCoord.y, &interactionType, &tileElement, nullptr);
|
||||
mapCoord.x -= 16;
|
||||
|
||||
Reference in New Issue
Block a user