NetPlayClient: Remove a designated initializer

release-ubu-x64 currently fails with "sorry, unimplemented: non-trivial
designated initializers not supported". pr-ubu-x64 doesn't for some
reason, but we might as well remove the designated initializer.
This commit is contained in:
JosJuice 2021-07-21 09:36:52 +02:00
parent 46f7074bf7
commit a3c8fb06c5
1 changed files with 2 additions and 1 deletions

View File

@ -2534,7 +2534,8 @@ PadDetails GetPadDetails(int pad_num)
{
std::lock_guard lk(crit_netplay_client);
PadDetails res{.local_pad = 4};
PadDetails res{};
res.local_pad = 4;
if (!netplay_client)
return res;