From 959c571fc6214f07ff2a9a4b3b2a8c3e4d7b99d3 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) {