Fix various warnings
This commit is contained in:
1 parent
549b686e22
commit
f976711fb4
58 files changed
+384
-425
No files matched your search
@@ -649,7 +649,7 @@ Adapt the gain if necessary to get a quicker fadeout when the source is too far
|
||||
|
||||
static void S_AL_ScaleGain(src_t *chksrc, vec3_t origin)
|
||||
{
|
||||
float distance;
|
||||
float distance = 0.0f;
|
||||
|
||||
if(!chksrc->local)
|
||||
distance = Distance(origin, lastListenerOrigin);
|
||||
|
||||
Reference in new issue
Block a user