aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/client/snd_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/snd_mem.c b/code/client/snd_mem.c
index 77b370d..8c3f98e 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;
}