mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-17 16:10:49 +01:00
*Fix a typo that causes crash. Do not use 867!
--HG-- branch : trunk
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user