Browse Source

sound_stop bin exact (#1172)

pull/114/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
d2f12de6b8
  1. 9
      Source/effects.cpp

9
Source/effects.cpp

@ -1135,11 +1135,14 @@ void FreeMonsterSnd()
void sound_stop()
{
int i; // edi
int i;
TSFX *snd;
snd = &sgSFX[0];
for (i = 0; i < NUM_SFX; i++) {
if (sgSFX[i].pSnd)
snd_stop_snd(sgSFX[i].pSnd);
if (snd->pSnd)
snd_stop_snd(snd->pSnd);
snd++;
}
}

Loading…
Cancel
Save