diff --git a/code/client/snd_mem.c b/code/client/snd_mem.c index 77b370dd..8c3f98e7 100644 --- a/code/client/snd_mem.c +++ b/code/client/snd_mem.c @@ -130,7 +130,7 @@ static void ResampleSfx( sfx_t *sfx, int inrate, int inwidth, byte *data, qboole srcsample = samplefrac >> 8; samplefrac += fracstep; if( inwidth == 2 ) { - sample = LittleShort ( ((short *)data)[srcsample] ); + sample = ( ((short *)data)[srcsample] ); } else { sample = (int)( (unsigned char)(data[srcsample]) - 128) << 8; }