Drop unused variables (#3586)

This commit is contained in:
janisozaur authored and Ted John committed 2016-05-13 18:21:58 +01:00
1 parent feb140b84c
commit ca430e1b23
50 files changed
+15 -109

No files matched your search

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