Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
This commit is contained in:
1 parent
b492e5e38f
commit
9e517c963b
30 files changed
+56
-56
No files matched your search
@@ -441,12 +441,12 @@ public:
|
||||
else if (target->ToCreature()->isPet())
|
||||
{
|
||||
Unit* owner = target->GetOwner();
|
||||
if (owner && owner->GetTypeId() == TYPEID_PLAYER && ((Pet* )target)->IsPermanentPetFor(owner->ToPlayer()))
|
||||
if (owner && owner->GetTypeId() == TYPEID_PLAYER && ((Pet*)target)->IsPermanentPetFor(owner->ToPlayer()))
|
||||
{
|
||||
// check online security
|
||||
if (handler->HasLowerSecurity(owner->ToPlayer(), 0))
|
||||
return false;
|
||||
((Pet* )target)->SetFreeTalentPoints(tp);
|
||||
((Pet*)target)->SetFreeTalentPoints(tp);
|
||||
owner->ToPlayer()->SendTalentsInfoData(true);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user