mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
fix #333
This commit is contained in:
parent
5faef5d6dd
commit
aee64e8e34
1 changed files with 7 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue