Core/Combat: more cleanups and converted threat packets back to packet class
This commit is contained in:
1 parent
1ab7a9328f
commit
e677461c5d
4 files changed
+52
-33
No files matched your search
@@ -5746,7 +5746,7 @@ bool Unit::Attack(Unit* victim, bool meleeAttack)
|
||||
//if (GetTypeId() == TYPEID_UNIT)
|
||||
// ToCreature()->SetCombatStartPosition(GetPositionX(), GetPositionY(), GetPositionZ());
|
||||
|
||||
if (creature && !IsPet())
|
||||
if (creature && !IsControlledByPlayer())
|
||||
{
|
||||
EngageWithTarget(victim); // ensure that anything we're attacking has threat
|
||||
|
||||
|
||||
Reference in new issue
Block a user