mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Cosmetic: Multiple cosmetic changes
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
This commit is contained in:
@@ -148,7 +148,7 @@ class example_creature : public CreatureScript
|
||||
{
|
||||
me->HandleEmoteCommand(uiTextEmote);
|
||||
|
||||
switch(uiTextEmote)
|
||||
switch (uiTextEmote)
|
||||
{
|
||||
case TEXT_EMOTE_DANCE:
|
||||
DoScriptText(SAY_DANCE, me);
|
||||
|
||||
@@ -202,7 +202,7 @@ class example_escort : public CreatureScript
|
||||
player->PlayerTalkClass->ClearMenus();
|
||||
npc_escortAI* pEscortAI = CAST_AI(example_escort::example_escortAI, creature->AI());
|
||||
|
||||
switch(uiAction)
|
||||
switch (uiAction)
|
||||
{
|
||||
case GOSSIP_ACTION_INFO_DEF+1:
|
||||
player->CLOSE_GOSSIP_MENU();
|
||||
|
||||
Reference in New Issue
Block a user