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:
@@ -255,7 +255,7 @@ void Battleground::Update(uint32 diff)
|
||||
return;
|
||||
}
|
||||
|
||||
switch(GetStatus())
|
||||
switch (GetStatus())
|
||||
{
|
||||
case STATUS_WAIT_JOIN:
|
||||
if (GetPlayersSize())
|
||||
@@ -890,7 +890,7 @@ uint32 Battleground::GetBonusHonorFromKill(uint32 kills) const
|
||||
|
||||
uint32 Battleground::GetBattlemasterEntry() const
|
||||
{
|
||||
switch(GetTypeID(true))
|
||||
switch (GetTypeID(true))
|
||||
{
|
||||
case BATTLEGROUND_AV: return 15972;
|
||||
case BATTLEGROUND_WS: return 14623;
|
||||
|
||||
Reference in New Issue
Block a user