mirror of https://github.com/OpenRCT2/OpenRCT2.git
Initialise variable to fix Launchpad ppc64el builds
`src/openrct2-ui/windows/TopToolbar.cpp:2112:13: error: ‘side’ may be used uninitialized in this function [-Werror=maybe-uninitialized]`
This commit is contained in:
parent
dd7258eb33
commit
ed40badcb1
|
@ -2109,7 +2109,7 @@ static void top_toolbar_tool_update_land(const ScreenCoordsXY& screenPos)
|
|||
|
||||
int16_t tool_size = gLandToolSize;
|
||||
std::optional<CoordsXY> mapTile;
|
||||
uint8_t side;
|
||||
uint8_t side{};
|
||||
|
||||
gMapSelectFlags &= ~MAP_SELECT_FLAG_ENABLE;
|
||||
if (tool_size == 1)
|
||||
|
|
Loading…
Reference in New Issue