summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index bf4b9372c..0bb8b97bc 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -406,7 +406,7 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI)
{
cPlayer * Player = static_cast<cPlayer *>(a_TDI.Attacker);
- Player->GetEquippedItem().GetHandler()->OnEntityAttack(Player, this);
+ Player->GetEquippedItem().GetHandler().OnEntityAttack(Player, this);
// Whether an enchantment boosted this attack's damage.
bool MagicalCriticalHit = false;