aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Creature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 8e246cba4cc..e2925ff9745 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -2193,7 +2193,7 @@ bool Creature::_IsTargetAcceptable(const Unit *target) const
return true;
// if I'm not aggressive, the target is not acceptable
- if (GetReactState() != REACT_AGGRESSIVE)
+ if (((Creature*)this)->GetReactState() != REACT_AGGRESSIVE)
return false;
// if I'm hostile towards the target, the target is acceptable