X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=snd_dma.c;h=3470723f68c01a3f62a598598cec638fe4ba400d;hp=a3edbbfb8f2ed8098952e1e67559620d0d3f078c;hb=fdfa815d659f4ceec149ce3f907c107f38022c3d;hpb=3999727cebbce3f3c82182a65579e28092cec557 diff --git a/snd_dma.c b/snd_dma.c index a3edbbfb..3470723f 100644 --- a/snd_dma.c +++ b/snd_dma.c @@ -677,7 +677,7 @@ void S_UpdateAmbientSounds (void) if (!snd_ambient || !cl.worldmodel || ambient_level.value <= 0) return; - l = Mod_PointInLeaf (listener_origin, cl.worldmodel); + l = cl.worldmodel->PointInLeaf(cl.worldmodel, listener_origin); if (!l) return;