diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-05-22 16:43:23 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-05-22 16:43:23 +0000 |
commit | 15611ef841b9d60564daf250eaa59239e8fc631e (patch) | |
tree | 3a6f0a8c4a440f9c806667a61b0b67ef475ec68d /source/snd_main.c | |
parent | ea1ed930673bb4063bb210a6b1a34364a9093d77 (diff) |
Cleaned up sound mixing code, removed assembly stubs.
Menu script enhancements (customizable colors).
Removed `ui_background' cvar (specified in script now).
Diffstat (limited to 'source/snd_main.c')
-rw-r--r-- | source/snd_main.c | 4 |
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 ); } } |