mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
chore(Core/Misc): Some cleanup (#19970)
* remove weird blanks * update if * ) ) to )) * missed some ) ) * now switch * .
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user