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
2011-09-29 12:43:05 +02:00
parent 8b820baa73
commit b16d2245bb
390 changed files with 1545 additions and 1545 deletions
+3 -3
View File
@@ -186,7 +186,7 @@ class npc_ruul_snowhoof : public CreatureScript
if (!player)
return;
switch(i)
switch (i)
{
case 0: {
me->SetUInt32Value(UNIT_FIELD_BYTES_1, 0);
@@ -319,7 +319,7 @@ class npc_muglash : public CreatureScript
{
Player* player = GetPlayerForEscort();
switch(i)
switch (i)
{
case 0:
if (player)
@@ -382,7 +382,7 @@ class npc_muglash : public CreatureScript
void DoWaveSummon()
{
switch(m_uiWaveId)
switch (m_uiWaveId)
{
case 1:
me->SummonCreature(NPC_WRATH_RIDER, m_afFirstNagaCoord[0][0], m_afFirstNagaCoord[0][1], m_afFirstNagaCoord[0][2], 0.0f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 60000);