Investigated PVS report for dm and addressed its points

This commit is contained in:
BjossiAlfreds 2019-09-24 18:12:23 +00:00
parent 4a429e7e57
commit e2cadbc06b
2 changed files with 1 additions and 13 deletions

View file

@ -299,9 +299,6 @@ DBall_ChangeKnockback(edict_t *targ, edict_t *attacker, int knockback, int mod)
case MOD_SSHOTGUN:
knockback = knockback / 3;
break;
case MOD_MACHINEGUN:
knockback = (knockback * 3) / 2;
break;
case MOD_HYPERBLASTER:
knockback *= 4;
break;
@ -316,6 +313,7 @@ DBall_ChangeKnockback(edict_t *targ, edict_t *attacker, int knockback, int mod)
knockback /= 2;
break;
case MOD_R_SPLASH:
case MOD_MACHINEGUN:
knockback = (knockback * 3) / 2;
break;
case MOD_RAILGUN:

View file

@ -18,11 +18,6 @@ int tag_count;
void
Tag_PlayerDeath(edict_t *targ, edict_t *inflictor /* unused */, edict_t *attacker /* unused */)
{
if (!targ)
{
return;
}
if (tag_token && targ && (targ == tag_owner))
{
Tag_DropToken(targ, FindItem("Tag Token"));
@ -67,11 +62,6 @@ Tag_KillItBonus(edict_t *self)
void
Tag_PlayerDisconnect(edict_t *self)
{
if (!self)
{
return;
}
if (tag_token && self && (self == tag_owner))
{
Tag_DropToken(self, FindItem("Tag Token"));