From 9c2e0ebd4c9f672bdb2038597a1e4081e6f064f2 Mon Sep 17 00:00:00 2001 From: Zach Callear Date: Mon, 26 Jul 2010 08:23:49 -0400 Subject: [PATCH] Fixed living players hearing dead players if alltalk is disabled while deadtalk is on (bug 4533, r=fyren). --- plugins/basecomm.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/basecomm.sp b/plugins/basecomm.sp index e27b280b..f8e20ca2 100644 --- a/plugins/basecomm.sp +++ b/plugins/basecomm.sp @@ -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) {