diff --git a/src/sound/s_advsound.cpp b/src/sound/s_advsound.cpp index ef1ac65ef8..c6ae4fc5fe 100644 --- a/src/sound/s_advsound.cpp +++ b/src/sound/s_advsound.cpp @@ -952,7 +952,7 @@ static void S_AddSNDINFO (int lump) { sfx = soundEngine->FindSoundTentative(sc.String); auto sfxp = soundEngine->GetWritableSfx(sfx); - sfxp->Rolloff; + rolloff = &sfxp->Rolloff; } type = ROLLOFF_Doom; if (!sc.CheckFloat())