From 798fdb07092fceaccfde41d2f27e2756f29f4eda Mon Sep 17 00:00:00 2001 From: Rorkh Date: Sat, 18 Sep 2021 13:18:05 +0500 Subject: Snipe skeleton achievment --- src/Entities/Entity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Entities/Entity.cpp') diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index a5b1fae8f..74b184c54 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -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; -- cgit v1.2.3