mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 14:46:24 +00:00
chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
This commit is contained in:
@@ -81,7 +81,6 @@ void Pet::AddToWorld()
|
||||
GetCharmInfo()->SetIsFollowing(false);
|
||||
GetCharmInfo()->SetIsReturning(false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void Pet::RemoveFromWorld()
|
||||
@@ -839,7 +838,6 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
|
||||
}
|
||||
case SUMMON_PET:
|
||||
{
|
||||
|
||||
if (pInfo)
|
||||
{
|
||||
SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(pInfo->min_dmg));
|
||||
@@ -1192,7 +1190,6 @@ void Pet::_SaveSpellCooldowns(SQLTransaction& trans, bool logout)
|
||||
stmt->setUInt32(1, itr2->first);
|
||||
stmt->setUInt32(2, cooldown);
|
||||
trans->Append(stmt);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2329,7 +2326,6 @@ void Pet::RemoveSpellCooldown(uint32 spell_id, bool update /* = false */)
|
||||
|
||||
if (update)
|
||||
{
|
||||
|
||||
if (Player* playerOwner = GetCharmerOrOwnerPlayerOrPlayerItself())
|
||||
{
|
||||
WorldPacket data(SMSG_CLEAR_COOLDOWN, 4 + 8);
|
||||
|
||||
@@ -185,7 +185,6 @@ enum PetScalingSpells
|
||||
SPELL_DK_PET_SCALING_01 = 51996,
|
||||
SPELL_DK_PET_SCALING_02 = 54566,
|
||||
SPELL_DK_PET_SCALING_03 = 61697
|
||||
|
||||
};
|
||||
|
||||
#define PET_FOLLOW_DIST 1.0f
|
||||
|
||||
Reference in New Issue
Block a user