From 6e288cc74b53b65c495f2a8a7cf518464bdbf645 Mon Sep 17 00:00:00 2001 From: James Haley Date: Mon, 6 Sep 2010 21:22:27 +0000 Subject: Comment fix, and enabled player's extreme death sound. Subversion-branch: /branches/strife-branch Subversion-revision: 2020 --- src/strife/p_enemy.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/strife') diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c index f3899ff3..0acf15dd 100644 --- a/src/strife/p_enemy.c +++ b/src/strife/p_enemy.c @@ -1339,7 +1339,7 @@ void A_StalkerThink(mobj_t* actor) // // [STRIFE] New function // haleyjd 09/06/10: Action function to marshall transitions to the -// Sentinel's spawnstate. +// Stalker's spawnstate. // void A_StalkerSetLook(mobj_t* actor) { @@ -2042,16 +2042,16 @@ void A_BossDeath (mobj_t* mo) void A_PlayerScream (mobj_t* mo) { // Default death sound. - int sound = sfx_pldeth; - + int sound = sfx_pldeth; + if ( (gamemode == commercial) - && (mo->health < -50)) + && (mo->health < -50)) { - // IF THE PLAYER DIES - // LESS THAN -50% WITHOUT GIBBING - sound = sfx_swish; // villsa [STRIFE] TODO - fix sounds + // IF THE PLAYER DIES + // LESS THAN -50% WITHOUT GIBBING + sound = sfx_plxdth; // villsa [STRIFE] different sound } - + S_StartSound (mo, sound); } -- cgit v1.2.3