shithub: choc

Download patch

ref: 2c6dbeb09c631f93def5c406711360cfa27c9c29
parent: c8c0b07f50c20b2e80cdc99005fbdd697f5add83
author: Samuel Villareal <[email protected]>
date: Sun Sep 12 03:30:30 EDT 2010

+ Minor fix for P_KillMobj. Suppose to make the player hop slightly when
  killed

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

--- a/src/strife/p_inter.c
+++ b/src/strife/p_inter.c
@@ -713,7 +713,7 @@
 			
 	target->flags &= ~MF_SOLID;
 	target->player->playerstate = PST_DEAD;
-        target->player->pitch += (5 << 8);
+        target->player->mo->momz = (5*FRACUNIT);
 	P_DropWeapon(target->player);
 
 	if(target->player == &players[consoleplayer]