diff options
author | maximius <none@none> | 2009-10-10 17:09:52 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-10 17:09:52 -0700 |
commit | ebe28e287049e915548bd435060f157e986fc686 (patch) | |
tree | fb36b6124f8c48588cb9aaa2326f5380be9613d8 /src | |
parent | c3dfa34d8d11d1aed7dbf2aa53bcd9d23a9f44fa (diff) |
*Having to cast this seems silly to me. Oh well, farewell, const-ness!
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Creature.cpp | 2 |
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 |