summaryrefslogtreecommitdiff
path: root/source/snd_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/snd_main.c')
-rw-r--r--source/snd_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/snd_main.c b/source/snd_main.c
index 7163c55..4df6e01 100644
--- a/source/snd_main.c
+++ b/source/snd_main.c
@@ -139,7 +139,7 @@ static void S_SoundList_f( void ) {
continue;
sc = sfx->cache;
if( sc ) {
- size = sc->length * sc->width * sc->channels;
+ size = sc->length * sc->width;
total += size;
if( sc->loopstart >= 0 )
Com_Printf( "L" );
@@ -428,7 +428,7 @@ void S_EndRegistration( void ) {
// make sure it is paged in
sc = sfx->cache;
if( sc ) {
- size = sc->length * sc->width * sc->channels;
+ size = sc->length * sc->width;
Com_PageInMemory( sc, size );
}
}