mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
-. fixed:S_LoadSound passed the wrong value for the lump size parameter to LoadSoundVoc.
This commit is contained in:
parent
ee6e87d94b
commit
1b13e6be98
1 changed files with 1 additions and 1 deletions
|
@ -1321,7 +1321,7 @@ sfxinfo_t *S_LoadSound(sfxinfo_t *sfx)
|
|||
// If the sound is voc, use the custom loader.
|
||||
if (strncmp ((const char *)sfxstart, "Creative Voice File", 19) == 0)
|
||||
{
|
||||
sfx->data = GSnd->LoadSoundVoc(sfxstart, len);
|
||||
sfx->data = GSnd->LoadSoundVoc(sfxstart, size);
|
||||
}
|
||||
// If the sound is raw, just load it as such.
|
||||
// Otherwise, try the sound as DMX format.
|
||||
|
|
Loading…
Reference in a new issue