[HL25] Backport "make players non-solid upon death in multiplayer" code
This commit is contained in:
parent
9d4ce15069
commit
df5605d5a3
1 changed files with 5 additions and 0 deletions
|
@ -878,6 +878,11 @@ void CBasePlayer::Killed(entvars_t* pevAttacker, int iGib)
|
|||
WRITE_BYTE(0);
|
||||
MESSAGE_END();
|
||||
|
||||
// Adrian: always make the players non-solid in multiplayer when they die
|
||||
if (g_pGameRules->IsMultiplayer())
|
||||
{
|
||||
pev->solid = SOLID_NOT;
|
||||
}
|
||||
|
||||
// UNDONE: Put this in, but add FFADE_PERMANENT and make fade time 8.8 instead of 4.12
|
||||
// UTIL_ScreenFade( edict(), Vector(128,0,0), 6, 15, 255, FFADE_OUT | FFADE_MODULATE );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue