Core/Misc: fixed build
This commit is contained in:
1 parent
47ef91c23d
commit
de6a514ec5
11 files changed
+28
-28
No files matched your search
@@ -342,7 +342,7 @@ bool CombatManager::UpdateOwnerCombatState() const
|
||||
{
|
||||
_owner->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IN_COMBAT);
|
||||
_owner->AtExitCombat();
|
||||
if (_owner->IsEngaged() && !(_owner->ToCreature() && _owner->ToCreature()->IsAIEnabled()))
|
||||
if (_owner->IsEngaged() && !(_owner->ToCreature() && _owner->ToCreature()->IsAIEnabled))
|
||||
_owner->AtDisengage();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user