From a9796904ec385cf0c7b4d623803e75db55572748 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Mon, 13 Jun 2016 18:48:17 +0500 Subject: [PATCH] Remove unused check. --- dlls/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/sound.cpp b/dlls/sound.cpp index 6c5bfc90..e745b995 100644 --- a/dlls/sound.cpp +++ b/dlls/sound.cpp @@ -1176,7 +1176,7 @@ int SENTENCEG_PlayRndI(edict_t *entity, int isentenceg, name[0] = 0; ipick = USENTENCEG_Pick(isentenceg, name); - if (ipick > 0 && name) + if( ipick > 0 ) EMIT_SOUND_DYN(entity, CHAN_VOICE, name, volume, attenuation, flags, pitch); return ipick; }