diff --git a/regamedll/regamedll/regamedll_interfaces_impl.cpp b/regamedll/regamedll/regamedll_interfaces_impl.cpp index 36a3659e..3c413003 100644 --- a/regamedll/regamedll/regamedll_interfaces_impl.cpp +++ b/regamedll/regamedll/regamedll_interfaces_impl.cpp @@ -47,6 +47,10 @@ bool EXT_FUNC CCSPlayer::JoinTeam(TeamName team) if (pPlayer->m_iTeam == SPECTATOR) return false; + // not necessary to trigger death event, just died quietly + pPlayer->pev->deadflag = DEAD_DEAD; + pPlayer->pev->health = 0; + pPlayer->RemoveAllItems(TRUE); pPlayer->m_bHasC4 = false;