mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Added initializer braces to Client player; in NetPlayServer.cpp OnConnect()
This commit is contained in:
parent
d11df2b700
commit
5dea8aaed0
@ -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…
Reference in New Issue
Block a user