From c37eeb05ef61c4ac3ea5c9773c4e9af3748e2e78 Mon Sep 17 00:00:00 2001 From: echon Date: Tue, 8 Sep 2009 16:01:25 +0000 Subject: [PATCH] Oops! git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9170 d7cf8633-e32d-0410-b094-e92efae38249 --- snd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snd_main.c b/snd_main.c index 236bb5e0..83b05959 100644 --- a/snd_main.c +++ b/snd_main.c @@ -1377,7 +1377,7 @@ void SND_Spatialize(channel_t *ch, qboolean isstatic) { if (cl.worldmodel && cl.worldmodel->brush.TraceLineOfSight - && !cl.worldmodel->brush.TraceLineOfSight(cl.worldmodel, listener_origin, source_vec)) + && !cl.worldmodel->brush.TraceLineOfSight(cl.worldmodel, listener_origin, ch->origin)) { vol *= 0.5f; } -- 2.39.2