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:
Spp committed 2011-09-29 12:43:05 +02:00
1 parent 8b820baa73
commit b16d2245bb
390 files changed
+1545 -1545

No files matched your search

@@ -106,9 +106,9 @@ class boss_doomwalker : public CreatureScript
if (me->HasUnitState(UNIT_STAT_CASTING))
return;
while(uint32 eventId = _events.ExecuteEvent())
while (uint32 eventId = _events.ExecuteEvent())
{
switch(eventId)
switch (eventId)
{
case EVENT_ENRAGE:
if (!HealthAbovePct(20))