Fix client warnings

This commit is contained in:
Tim Angus 2014-09-01 11:13:47 +01:00
parent fbdb3e0875
commit 4f3c95c589
2 changed files with 6 additions and 2 deletions

View file

@ -422,6 +422,10 @@ static void S_PaintChannelFrom16_scalar( channel_t *ch, const sfx_t *sc, int cou
short *samples;
float ooff, fdata[2], fdiv, fleftvol, frightvol;
if (sc->soundChannels <= 0) {
return;
}
samp = &paintbuffer[ bufferOffset ];
if (ch->doppler) {