));
if (sdelay_small_count == 0)
{
- if (g_cts)
+ if (IS_INDEPENDENT_PLAYER(this))
{
// Players play independently. No point in requiring enemies.
sdelay_small_count = 1;
}
if (sdelay_large_count == 0)
{
- if (g_cts)
+ if (IS_INDEPENDENT_PLAYER(this))
{
// Players play independently. No point in requiring enemies.
sdelay_large_count = 1;
{
WeaponStats_LogDamage(awep.m_id, abot, this.(weaponentity).m_weapon.m_id, vbot, dh + da);
}
- if (damage)
- {
- MUTATOR_CALLHOOK(PlayerDamaged, attacker, this, dh, da, hitloc, deathtype, damage);
- }
+
+ MUTATOR_CALLHOOK(PlayerDamaged, attacker, this, dh, da, hitloc, deathtype, damage);
if (this.health < 1)
{
ATTACK_FINISHED_FOR(this, it.m_id, slot) = 0;
}
));
+ MUTATOR_CALLHOOK(PlayerDied, this);
}
}