[HL25] Backport "make players non-solid upon death in multiplayer" code

This commit is contained in:
Joël Troch 2024-08-28 15:41:52 +02:00
parent 9d4ce15069
commit df5605d5a3

View file

@ -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 );