shithub: choc

Download patch

ref: 6e288cc74b53b65c495f2a8a7cf518464bdbf645
parent: eda4d7be63c6b5e1bf9ae10c8ed762b9e7a549dc
author: James Haley <haleyjd@hotmail.com>
date: Mon Sep 6 17:22:27 EDT 2010

Comment fix, and enabled player's extreme death sound.

Subversion-branch: /branches/strife-branch
Subversion-revision: 2020

--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -1339,7 +1339,7 @@
 //
 // [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_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);
 }