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:
@@ -218,7 +218,7 @@ bool Weather::UpdateWeather()
|
||||
|
||||
///- Log the event
|
||||
char const* wthstr;
|
||||
switch(state)
|
||||
switch (state)
|
||||
{
|
||||
case WEATHER_STATE_LIGHT_RAIN:
|
||||
wthstr = "light rain";
|
||||
@@ -281,7 +281,7 @@ WeatherState Weather::GetWeatherState() const
|
||||
if (m_grade<0.27f)
|
||||
return WEATHER_STATE_FINE;
|
||||
|
||||
switch(m_type)
|
||||
switch (m_type)
|
||||
{
|
||||
case WEATHER_TYPE_RAIN:
|
||||
if (m_grade<0.40f)
|
||||
|
||||
Reference in New Issue
Block a user