Fix typo from revision 3f0577c8e6
--HG-- branch : trunk
This commit is contained in:
1 parent
025d070752
commit
46d39f17b4
1 file changed
+1
-1
@@ -9389,7 +9389,7 @@ bool Unit::Attack(Unit *victim, bool meleeAttack)
|
||||
//if (GetTypeId() == TYPEID_UNIT)
|
||||
// this->ToCreature()->SetCombatStartPosition(GetPositionX(), GetPositionY(), GetPositionZ());
|
||||
|
||||
if (GetTypeId() == TYPEID_UNIT && !this->ToCreature()->IsPet())
|
||||
if (GetTypeId() == TYPEID_UNIT && !this->ToCreature()->isPet())
|
||||
{
|
||||
// should not let player enter combat by right clicking target
|
||||
SetInCombatWith(victim);
|
||||
|
||||
Reference in new issue
Block a user