diff --git a/src/engine/client/sound.cpp b/src/engine/client/sound.cpp index c1c75ab02..5062c35b1 100644 --- a/src/engine/client/sound.cpp +++ b/src/engine/client/sound.cpp @@ -162,7 +162,7 @@ static void Mix(short *pFinalOut, unsigned Frames) float r = Voice.m_Circle.m_Radius; RangeX = r; - int Dist = (int)sqrtf((float)dx * dx + dy * dy); // nasty float + int Dist = (int)sqrtf((float)dx * dx + (float)dy * dy); // nasty float if(Dist < r) { InVoiceField = true;