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
+1 -1
View File
@@ -413,7 +413,7 @@ void OPvPCapturePoint::SendUpdateWorldState(uint32 field, uint32 value)
void OPvPCapturePoint::SendObjectiveComplete(uint32 id, uint64 guid)
{
uint32 team;
switch(m_State)
switch (m_State)
{
case OBJECTIVESTATE_ALLIANCE:
team = 0;
+1 -1
View File
@@ -180,7 +180,7 @@ class OPvPCapturePoint
OutdoorPvP* m_PvP;
// map to store the various gameobjects and creatures spawned by the objective
// type , guid
// type, guid
std::map<uint32, uint64> m_Objects;
std::map<uint32, uint64> m_Creatures;
std::map<uint64, uint32> m_ObjectTypes;