Core/Misc: Remove whitespace at the end of lines

(cherry picked from commit caae3886d2)
This commit is contained in:
jackpoz
2020-04-05 15:23:56 +02:00
committed by Shauren
parent 4df9ab2a3f
commit ecdc387df2
11 changed files with 16 additions and 16 deletions

View File

@@ -1334,7 +1334,7 @@ public:
if (count < 0)
{
uint32 destroyedItemCount = playerTarget->DestroyItemCount(itemId, -count, true, false);
if (destroyedItemCount > 0)
{
// output the amount of items successfully destroyed

View File

@@ -1390,7 +1390,7 @@ public:
me->CombatStop(true);
me->InterruptNonMeleeSpells(false);
me->SetWalk(false);
EngagementOver();
for (uint8 i = 0; i < ENCOUNTER_DEFENDER_NUMBER; ++i)

View File

@@ -423,9 +423,9 @@ void hyjalAI::EnterEvadeMode(EvadeReason /*why*/)
if (me->GetEntry() != JAINA)
me->RemoveAllAuras();
me->CombatStop(true);
EngagementOver();
me->LoadCreaturesAddon();
if (me->IsAlive())
me->GetMotionMaster()->MoveTargetedHome();

View File

@@ -87,9 +87,9 @@ public:
me->CombatStop();
me->SetFaction(FACTION_FRIENDLY);
me->SetSpeedRate(MOVE_RUN, 0.6f);
EngagementOver();
me->GetMotionMaster()->MoveFollow(caster, PET_FOLLOW_DIST, me->GetFollowAngle());
me->setActive(true);
me->RemoveNpcFlag(UNIT_NPC_FLAG_GOSSIP);

View File

@@ -179,9 +179,9 @@ public:
me->RemoveAllAuras();
me->CombatStop(true);
me->StopMoving();
EngagementOver();
me->GetMotionMaster()->MoveIdle();
me->SetFaction(FACTION_FRIENDLY);
me->HandleEmoteCommand(EMOTE_ONESHOT_SALUTE);

View File

@@ -1791,7 +1791,7 @@ public:
_soundId = BELLTOLLHORDE; // undead bell sound
break;
default:
_soundId = BELLTOLLTRIBAL; // orc drum sound
_soundId = BELLTOLLTRIBAL; // orc drum sound
break;
}
break;
@@ -1810,7 +1810,7 @@ public:
_soundId = BELLTOLLNIGHTELF; // nightelf bell sound
break;
default:
_soundId = BELLTOLLALLIANCE; // human bell sound
_soundId = BELLTOLLALLIANCE; // human bell sound
}
break;
}

View File

@@ -182,7 +182,7 @@ public:
AirForceSpawn const& _spawn;
ObjectGuid _myGuard;
std::unordered_set<ObjectGuid> _toAttack;
};
CreatureAI* GetAI(Creature* creature) const override