Browse Source

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

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

5
game/shared/hl2mp/hl2mp_gamerules.cpp

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

Loading…
Cancel
Save