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:
1 parent
8b820baa73
commit
b16d2245bb
390 files changed
+1545
-1545
No files matched your search
@@ -173,7 +173,7 @@ public:
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
{
|
||||
switch(phase)
|
||||
switch (phase)
|
||||
{
|
||||
case PHASE_CHAINED:
|
||||
if (!anchorGUID)
|
||||
@@ -247,7 +247,7 @@ public:
|
||||
|
||||
while (uint32 eventId = events.ExecuteEvent())
|
||||
{
|
||||
switch(eventId)
|
||||
switch (eventId)
|
||||
{
|
||||
case EVENT_ICY_TOUCH:
|
||||
DoCast(me->getVictim(), SPELL_ICY_TOUCH);
|
||||
@@ -553,7 +553,7 @@ public:
|
||||
|
||||
if (PhaseTimer <= diff)
|
||||
{
|
||||
switch(Phase)
|
||||
switch (Phase)
|
||||
{
|
||||
case 0:
|
||||
me->MonsterSay(SAY_DARK_RIDER, LANG_UNIVERSAL, 0);
|
||||
|
||||
Reference in new issue
Block a user