mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 12:50:29 +00:00
Remove uint
It's better to use the native types.
This commit is contained in:
15 files changed
+214
-156
No files matched your search
@@ -56,7 +56,7 @@ void CNetServerSession::Disconnect(NetDisconnectReason reason)
|
||||
if (reason == NDR_UNKNOWN)
|
||||
LOGWARNING("Disconnecting client without communicating the disconnect reason!");
|
||||
|
||||
Update((uint)NMT_CONNECTION_LOST, NULL);
|
||||
Update(static_cast<unsigned int>(NMT_CONNECTION_LOST), nullptr);
|
||||
|
||||
enet_peer_disconnect(m_Peer, static_cast<enet_uint32>(reason));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user