From 5ca4d992e3224b392985a5db097643bc32044732 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 2 Sep 2010 13:02:03 +0200 Subject: [PATCH] Changed: #825 Remove all warnings when compiling Ryzom --- code/nel/src/sound/clustered_sound.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/nel/src/sound/clustered_sound.cpp b/code/nel/src/sound/clustered_sound.cpp index 71b1dec50..3a75ee4f4 100644 --- a/code/nel/src/sound/clustered_sound.cpp +++ b/code/nel/src/sound/clustered_sound.cpp @@ -493,6 +493,9 @@ void CClusteredSound::soundTraverse(const std::vector &clusters, CSo CSoundTravContext &travContext = curClusters.back().second; CClusterSoundStatus css; + css.DistFactor = 0.0f; + css.Position = CVector::Null; + css.PosAlpha = 0.0f; css.Gain = travContext.Gain; css.Dist = travContext.Dist; css.Direction = travContext.Direction;