1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Drop unused variables (#3586)

This commit is contained in:
janisozaur
2016-05-13 19:21:58 +02:00
committed by Ted John
parent feb140b84c
commit ca430e1b23
50 changed files with 15 additions and 109 deletions

View File

@@ -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