mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-27 14:20:59 +00:00
- fixed uninitialized global rolloff in sound engine
Depending on SNDINFO definitions, type of global rolloff could left uninitialized, and linear rolloff might be treated as logarithmic https://forum.zdoom.org/viewtopic.php?t=70248
This commit is contained in:
parent
917eb2b5e3
commit
e0e0fb0d8f
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ protected:
|
||||||
|
|
||||||
// the complete set of sound effects
|
// the complete set of sound effects
|
||||||
TArray<sfxinfo_t> S_sfx;
|
TArray<sfxinfo_t> S_sfx;
|
||||||
FRolloffInfo S_Rolloff;
|
FRolloffInfo S_Rolloff{};
|
||||||
TArray<uint8_t> S_SoundCurve;
|
TArray<uint8_t> S_SoundCurve;
|
||||||
TMap<int, int> ResIdMap;
|
TMap<int, int> ResIdMap;
|
||||||
TArray<FRandomSoundList> S_rnd;
|
TArray<FRandomSoundList> S_rnd;
|
||||||
|
|
Loading…
Reference in a new issue