Fixed living players hearing dead players if alltalk is disabled while deadtalk is on (bug 4533, r=fyren).

This commit is contained in:
Zach Callear 2010-07-26 08:23:49 -04:00
parent 28cc96cfd0
commit 9c2e0ebd4c

View File

@ -173,7 +173,7 @@ public ConVarChange_Alltalk(Handle:convar, const String:oldValue[], const String
{
SetClientListeningFlags(i, VOICE_NORMAL);
}
else
else if (!IsPlayerAlive(i))
{
if (mode == 1)
{