Fix typo from revision 3f0577c8e6
--HG-- branch : trunk
This commit is contained in:
@@ -9389,7 +9389,7 @@ bool Unit::Attack(Unit *victim, bool meleeAttack)
|
|||||||
//if (GetTypeId() == TYPEID_UNIT)
|
//if (GetTypeId() == TYPEID_UNIT)
|
||||||
// this->ToCreature()->SetCombatStartPosition(GetPositionX(), GetPositionY(), GetPositionZ());
|
// 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
|
// should not let player enter combat by right clicking target
|
||||||
SetInCombatWith(victim);
|
SetInCombatWith(victim);
|
||||||
|
|||||||
Reference in New Issue
Block a user