1
0
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:
Hielke Morsink
2018-06-04 19:50:46 +02:00
parent a14d59028f
commit 5d0022a5cb
46 changed files with 84 additions and 87 deletions

View File

@@ -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;