diff options
author | Spp <spp@jorge.gr> | 2011-09-29 12:43:05 +0200 |
---|---|---|
committer | Spp <spp@jorge.gr> | 2011-09-29 12:43:05 +0200 |
commit | b16d2245bbd374805d15cdca585e8b42bf139605 (patch) | |
tree | b7b63c567112e1999a2566611363cf5e83adb1be /src/server/scripts/Examples | |
parent | 8b820baa7324d41df264f48e344d62584bff70f8 (diff) |
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
Diffstat (limited to 'src/server/scripts/Examples')
-rw-r--r-- | src/server/scripts/Examples/example_creature.cpp | 2 | ||||
-rw-r--r-- | src/server/scripts/Examples/example_escort.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Examples/example_creature.cpp b/src/server/scripts/Examples/example_creature.cpp index d1ac2045e61..1a030728218 100644 --- a/src/server/scripts/Examples/example_creature.cpp +++ b/src/server/scripts/Examples/example_creature.cpp @@ -148,7 +148,7 @@ class example_creature : public CreatureScript { me->HandleEmoteCommand(uiTextEmote); - switch(uiTextEmote) + switch (uiTextEmote) { case TEXT_EMOTE_DANCE: DoScriptText(SAY_DANCE, me); diff --git a/src/server/scripts/Examples/example_escort.cpp b/src/server/scripts/Examples/example_escort.cpp index fa62563e25d..dfac4321a23 100644 --- a/src/server/scripts/Examples/example_escort.cpp +++ b/src/server/scripts/Examples/example_escort.cpp @@ -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(); |