Browse Source

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

pull/112/head
SanyaSho 2 years ago
parent
commit
8a366537e7
  1. 7
      game/shared/hl2mp/hl2mp_gamerules.cpp

7
game/shared/hl2mp/hl2mp_gamerules.cpp

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

Loading…
Cancel
Save