chore(Core/Misc): Some cleanup (#19970)

* remove weird blanks

* update if

* ) ) to ))

* missed some ) )

* now switch

* .
This commit is contained in:
Kitzunu
2024-09-21 19:34:31 +02:00
committed by GitHub
parent 0ba59c0053
commit 386aea03ee
157 changed files with 1606 additions and 1616 deletions

View File

@@ -302,7 +302,7 @@ public:
if (!player->FindNearestCreature(NPC_TERVOSH, 100.0f))
{
if(Creature* tervosh = player->SummonCreature(NPC_TERVOSH, -3476.51f, -4105.94f, 17.1f, 5.3816f, TEMPSUMMON_TIMED_DESPAWN, 60000))
if (Creature* tervosh = player->SummonCreature(NPC_TERVOSH, -3476.51f, -4105.94f, 17.1f, 5.3816f, TEMPSUMMON_TIMED_DESPAWN, 60000))
tervosh->CastSpell(tervosh, SPELL_TELEPORT_VISUAL, true);
}

View File

@@ -1283,7 +1283,7 @@ public:
void SendActionMenu(Player* player, GameObject* /*gameobject*/, uint32 uiAction)
{
switch(uiAction)
switch (uiAction)
{
// Learn Goblin
case GOSSIP_ACTION_INFO_DEF + 1:
@@ -1353,7 +1353,7 @@ public:
bool OnGossipSelect(Player* player, GameObject* gameobject, uint32 uiSender, uint32 uiAction) override
{
ClearGossipMenuFor(player);
switch(uiSender)
switch (uiSender)
{
case GOSSIP_SENDER_LEARN:
SendActionMenu(player, gameobject, uiAction);