mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
!= and == are not the same thing.
(cherry picked from commit 51cf1c7136)
This commit is contained in:
@@ -331,7 +331,7 @@ bool CombatManager::UpdateOwnerCombatState() const
|
||||
{
|
||||
_owner->AddUnitFlag(UNIT_FLAG_IN_COMBAT);
|
||||
_owner->AtEnterCombat();
|
||||
if (_owner->GetTypeId() == TYPEID_UNIT)
|
||||
if (_owner->GetTypeId() != TYPEID_UNIT)
|
||||
_owner->AtEngage(GetAnyTarget());
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user