From 2c6dbeb09c631f93def5c406711360cfa27c9c29 Mon Sep 17 00:00:00 2001 From: Samuel Villareal Date: Sun, 12 Sep 2010 07:30:30 +0000 Subject: + Minor fix for P_KillMobj. Suppose to make the player hop slightly when killed Subversion-branch: /branches/strife-branch Subversion-revision: 2075 --- src/strife/p_inter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strife/p_inter.c') diff --git a/src/strife/p_inter.c b/src/strife/p_inter.c index 701738f6..47607991 100644 --- a/src/strife/p_inter.c +++ b/src/strife/p_inter.c @@ -713,7 +713,7 @@ void P_KillMobj(mobj_t* source, mobj_t* target) 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] -- cgit v1.2.3