diff options
author | Samuel Villareal | 2010-09-12 07:30:30 +0000 |
---|---|---|
committer | Samuel Villareal | 2010-09-12 07:30:30 +0000 |
commit | 2c6dbeb09c631f93def5c406711360cfa27c9c29 (patch) | |
tree | a5182bf3f68612d93086711f7f51c89240d53063 /src/strife | |
parent | c8c0b07f50c20b2e80cdc99005fbdd697f5add83 (diff) | |
download | chocolate-doom-2c6dbeb09c631f93def5c406711360cfa27c9c29.tar.gz chocolate-doom-2c6dbeb09c631f93def5c406711360cfa27c9c29.tar.bz2 chocolate-doom-2c6dbeb09c631f93def5c406711360cfa27c9c29.zip |
+ Minor fix for P_KillMobj. Suppose to make the player hop slightly when
killed
Subversion-branch: /branches/strife-branch
Subversion-revision: 2075
Diffstat (limited to 'src/strife')
-rw-r--r-- | src/strife/p_inter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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] |