Stop player powerup sounds when respawning
authorMario <mario.mario@y7mail.com>
Fri, 29 May 2020 18:11:29 +0000 (04:11 +1000)
committerMario <mario.mario@y7mail.com>
Fri, 29 May 2020 18:11:29 +0000 (04:11 +1000)
qcsrc/server/client.qc

index ccb7053..a898db2 100644 (file)
@@ -658,6 +658,7 @@ void PutPlayerInServer(entity this)
 
        // Cut off any still running player sounds.
        stopsound(this, CH_PLAYER_SINGLE);
+       stopsound(this, CH_TRIGGER_SINGLE);
 
        this.model = "";
        FixPlayermodel(this);