mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
adjust shavit_misc_bhopsounds handling
This commit is contained in:
parent
fb14355f9b
commit
a4bff5cca8
@ -3676,7 +3676,7 @@ public Action NormalSound(int clients[MAXPLAYERS], int &numClients, char sample[
|
||||
{
|
||||
for(int i = 0; i < numClients; ++i)
|
||||
{
|
||||
if(!IsValidClient(clients[i]) || gB_Hide[clients[i]])
|
||||
if(!IsValidClient(clients[i]) || (gB_Hide[clients[i]] && GetSpectatorTarget(clients[i]) != entity))
|
||||
{
|
||||
for (int j = i; j < numClients-1; j++)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user