game: fix death icon in hl2mp (hrgve/hl2dm-bugfix@6f7337d3f2)

This commit is contained in:
SanyaSho 2022-08-16 18:28:28 +03:00
parent 27339449c0
commit 8a366537e7

View File

@ -727,6 +727,11 @@ void CHL2MPRules::DeathNotice( CBasePlayer *pVictim, const CTakeDamageInfo &info
killer_weapon_name = "physics"; killer_weapon_name = "physics";
} }
if ( strstr( killer_weapon_name, "physbox" ) )
{
killer_weapon_name = "physics";
}
if ( strcmp( killer_weapon_name, "prop_combine_ball" ) == 0 ) if ( strcmp( killer_weapon_name, "prop_combine_ball" ) == 0 )
{ {
killer_weapon_name = "combine_ball"; killer_weapon_name = "combine_ball";
@ -1277,4 +1282,4 @@ const char *CHL2MPRules::GetChatFormat( bool bTeamOnly, CBasePlayer *pPlayer )
return pszFormat; return pszFormat;
} }
#endif #endif