aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alSource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index dac6c938..85db43c2 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1969,6 +1969,7 @@ static ALvoid InitSourceParams(ALsource *pSource)
pSource->WetGainAuto = AL_TRUE;
pSource->WetGainHFAuto = AL_TRUE;
pSource->AirAbsorptionFactor = 0.0f;
+ pSource->RoomRolloffFactor = 0.0f;
pSource->state = AL_INITIAL;
pSource->lSourceType = AL_UNDETERMINED;