From a630c47e6a8692fb03e03cbf1a9a52d4b079e4f4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 27 Jun 2014 22:09:03 -0700 Subject: [PATCH] Remove a redundant call --- src/s_sound.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/s_sound.cpp b/src/s_sound.cpp index 9f4c83e01..de0e7b987 100644 --- a/src/s_sound.cpp +++ b/src/s_sound.cpp @@ -1350,8 +1350,7 @@ sfxinfo_t *S_LoadSound(sfxinfo_t *sfx) } else { - len = Wads.LumpLength (sfx->lumpnum); - sfx->data = GSnd->LoadSound(sfxstart, len); + sfx->data = GSnd->LoadSound(sfxstart, size); } if (sfxdata != NULL)