mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-02 17:02:25 +00:00
Pass the correct size to LoadSoundVoc
This commit is contained in:
parent
6f8545e694
commit
d55dfcdb1d
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,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