Code: Select all
--- zoneserver.cpp (revision 437)
+++ zoneserver.cpp (working copy)
@@ -1078,7 +1078,7 @@
Client* ZoneServer::GetDrowningVictim(Player* player){
Client* client = GetClientBySpawn(player);
- if(client && drowning_victims.count(client) == 0)
+ if(client && drowning_victims.count(client) > 0)
return(client);
return 0;
}