forked from rosebudai/OpenRCT2-Web
Drop unused variables (#3586)
This commit is contained in:
1 parent
feb140b84c
commit
ca430e1b23
50 files changed
+15
-109
No files matched your search
@@ -1012,7 +1012,6 @@ bool Network::CheckSRAND(uint32 tick, uint32 srand0)
|
||||
|
||||
void Network::KickPlayer(int playerId)
|
||||
{
|
||||
NetworkPlayer *player = GetPlayerByID(playerId);
|
||||
for(auto it = client_connection_list.begin(); it != client_connection_list.end(); it++) {
|
||||
if ((*it)->player->id == playerId) {
|
||||
// Disconnect the client gracefully
|
||||
|
||||
Reference in new issue
Block a user