Fix client warnings

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

No files matched your search

+4
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) {