diff options
author | megamage <none@none> | 2009-01-16 22:54:50 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-16 22:54:50 -0600 |
commit | 660263ed1bbe1ce8d085e591c2947ca0bb2e76ce (patch) | |
tree | 191a2fe8bce830295d478beaaf8d7035df2c3d87 | |
parent | f017b964adbce89b7f898beb39b19b55ffa9a5dd (diff) |
*Fix a typo that causes crash. Do not use 867!
--HG--
branch : trunk
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 28a34dd7dea..370a94bd93f 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -10411,7 +10411,7 @@ bool Unit::SelectHostilTarget() } // search nearby enemy before enter evade mode - if(((Creature*)target)->HasReactState(REACT_AGGRESSIVE)) + if(((Creature*)this)->HasReactState(REACT_AGGRESSIVE)) { if(Unit *target = ((Creature*)this)->SelectNearestTarget()) { |