From aee64e8e34620f7722548010614e4a7babeaf09b Mon Sep 17 00:00:00 2001 From: MexMeRcUrY Date: Thu, 26 Mar 2020 02:00:46 -0600 Subject: [PATCH] fix #333 --- source/blood/src/triggers.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/blood/src/triggers.cpp b/source/blood/src/triggers.cpp index 67c4d3871..7440a993f 100644 --- a/source/blood/src/triggers.cpp +++ b/source/blood/src/triggers.cpp @@ -635,8 +635,13 @@ void OperateSprite(int nSprite, XSPRITE *pXSprite, EVENT event) } break; case kSoundPlayer: - if ((gGameOptions.nGameType != 0 && gGameOptions.nGameType != 1 && gGameOptions.nGameType != 2) || gMe->pXSprite->health <= 0) break; - gMe->restTime = 0; sndStartSample(pXSprite->data1, -1, 1, 0); + if (gGameOptions.nGameType == 0) + { + if (gMe->pXSprite->health <= 0) + break; + gMe->restTime = 0; + } + sndStartSample(pXSprite->data1, -1, 1, 0); break; case kThingObjectGib: case kThingObjectExplode: