mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- avoid uninitialized data.
This commit is contained in:
parent
19b5e2464e
commit
aba91b4f09
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ int S_DefineSound(unsigned index, const char *filename, int minpitch, int maxpit
|
|||
sndinf[kPitchEnd] = clamp(maxpitch, INT16_MIN, INT16_MAX);
|
||||
sndinf[kPriority] = priority & 255;
|
||||
sndinf[kVolAdjust] = clamp(distance, INT16_MIN, INT16_MAX);
|
||||
sndinf[kWorldTourMapping] = 0;
|
||||
sfx->Volume = volume;
|
||||
sfx->NearLimit = 6;
|
||||
sfx->bTentative = false;
|
||||
|
|
Loading…
Reference in a new issue