mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Added initializer braces to Client player; in NetPlayServer.cpp OnConnect()
This commit is contained in:
@ -407,7 +407,7 @@ ConnectionError NetPlayServer::OnConnect(ENetPeer* socket, sf::Packet& rpac)
|
|||||||
if (m_players.size() >= 255)
|
if (m_players.size() >= 255)
|
||||||
return ConnectionError::ServerFull;
|
return ConnectionError::ServerFull;
|
||||||
|
|
||||||
Client player;
|
Client player{};
|
||||||
player.pid = pid;
|
player.pid = pid;
|
||||||
player.socket = socket;
|
player.socket = socket;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user