Skip to content

Commit

Permalink
needed for fix to #3848
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.thedarkmod.com/svn/darkmod_src/trunk@6173 49c82d7f-2e2a-0410-a16f-ae8f201b507f
  • Loading branch information
grayman committed Nov 23, 2014
1 parent cf14f50 commit 3878057
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions game/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7592,6 +7592,9 @@ void idPlayer::Killed( idEntity *inflictor, idEntity *attacker, int damage, cons
LookAtKiller( inflictor, attacker );
}

// grayman #3848 - note who killed you
m_killedBy = attacker;

if ( gameLocal.isMultiplayer || g_testDeath.GetBool() ) {
idPlayer *killer = NULL;
// no gibbing in MP. Event_Gib will early out in MP
Expand Down

0 comments on commit 3878057

Please sign in to comment.