mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
Added initializer braces to Client player; in NetPlayServer.cpp OnConnect()
This commit is contained in:
parent
d11df2b700
commit
5dea8aaed0
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ ConnectionError NetPlayServer::OnConnect(ENetPeer* socket, sf::Packet& rpac)
|
|||
if (m_players.size() >= 255)
|
||||
return ConnectionError::ServerFull;
|
||||
|
||||
Client player;
|
||||
Client player{};
|
||||
player.pid = pid;
|
||||
player.socket = socket;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue