(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
This commit is contained in:
@@ -341,7 +341,7 @@ static uint NetworkCountPlayers()
|
||||
|
||||
FOR_ALL_CLIENTS(cs) {
|
||||
const NetworkClientInfo *ci = DEREF_CLIENT_INFO(cs);
|
||||
if (IsValidPlayer(ci->client_playas)) count++;
|
||||
if (IsValidPlayerID(ci->client_playas)) count++;
|
||||
}
|
||||
|
||||
return count;
|
||||
|
Reference in New Issue
Block a user