commit 6e288cc74b53b65c495f2a8a7cf518464bdbf645
Author: James Haley <haleyjd@hotmail.com>
AuthorDate: Mon Sep 6 21:22:27 2010 +0000
Commit: James Haley <haleyjd@hotmail.com>
CommitDate: Mon Sep 6 21:22:27 2010 +0000
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(-)
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);
}