aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Weather
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2011-09-29 12:43:05 +0200
committerSpp <spp@jorge.gr>2011-09-29 12:43:05 +0200
commitb16d2245bbd374805d15cdca585e8b42bf139605 (patch)
treeb7b63c567112e1999a2566611363cf5e83adb1be /src/server/game/Weather
parent8b820baa7324d41df264f48e344d62584bff70f8 (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/game/Weather')
-rwxr-xr-xsrc/server/game/Weather/Weather.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Weather/Weather.cpp b/src/server/game/Weather/Weather.cpp
index 0e98ebc7b17..590e6912cc5 100755
--- a/src/server/game/Weather/Weather.cpp
+++ b/src/server/game/Weather/Weather.cpp
@@ -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)