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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user