1
0

Snipe skeleton achievment

This commit is contained in:
Rorkh
2021-09-18 13:18:05 +05:00
committed by Tiger Wang
parent 028a5735c5
commit 798fdb0709
6 changed files with 22 additions and 17 deletions

View File

@@ -396,7 +396,7 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI)
if (a_TDI.Attacker != nullptr)
{
a_TDI.Attacker->Killed(this);
a_TDI.Attacker->Killed(*this, a_TDI.DamageType);
}
return true;
@@ -570,7 +570,7 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI)
if (a_TDI.Attacker != nullptr)
{
a_TDI.Attacker->Killed(this);
a_TDI.Attacker->Killed(*this, a_TDI.DamageType);
}
}
return true;