Minor changes

This commit is contained in:
Jackzie 2021-11-09 10:29:58 -06:00
parent 585ebc724c
commit cf2cf9038d
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
2 changed files with 3 additions and 2 deletions

View file

@ -97,6 +97,7 @@ public Action SoundHook(int[] clients, int& numClients, char sample[PLATFORM_MAX
for(int i = 0; i < numClients; i++) {
int client = clients[i];
if(gaggedPlayers[client].FindValue(entity) > -1) {
// Swap gagged player to end of list, then remove it (dec. numClients is effectively same)
int swap = clients[numClients - 1];
clients[numClients - 1] = client;
clients[i] = swap;