diff options
author | Spp <none@none> | 2010-04-07 22:59:46 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 22:59:46 +0200 |
commit | 49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 (patch) | |
tree | f7e6135573366a686c1f527e16a0a7d42a7877ff /src/game/Weather.cpp | |
parent | d19e12708001fbef2308be0e8cb5375a2ac7af48 (diff) |
Code style (game + scripts only):
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
Diffstat (limited to 'src/game/Weather.cpp')
-rw-r--r-- | src/game/Weather.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/game/Weather.cpp b/src/game/Weather.cpp index 92fbb313d45..d027277e2e6 100644 --- a/src/game/Weather.cpp +++ b/src/game/Weather.cpp @@ -37,7 +37,7 @@ Weather::Weather(uint32 zone, WeatherZoneChances const* weatherChances) : m_zone m_type = WEATHER_TYPE_FINE; m_grade = 0; - sLog.outDetail("WORLD: Starting weather system for zone %u (change every %u minutes).", m_zone, (uint32)(m_timer.GetInterval() / (MINUTE*IN_MILISECONDS)) ); + sLog.outDetail("WORLD: Starting weather system for zone %u (change every %u minutes).", m_zone, (uint32)(m_timer.GetInterval() / (MINUTE*IN_MILISECONDS))); } /// Launch a weather update @@ -188,18 +188,18 @@ bool Weather::ReGenerate() void Weather::SendWeatherUpdateToPlayer(Player *player) { - WorldPacket data( SMSG_WEATHER, (4+4+4) ); + WorldPacket data(SMSG_WEATHER, (4+4+4)); data << uint32(GetWeatherState()) << (float)m_grade << uint8(0); - player->GetSession()->SendPacket( &data ); + player->GetSession()->SendPacket(&data); } void Weather::SendFineWeatherUpdateToPlayer(Player *player) { - WorldPacket data( SMSG_WEATHER, (4+4+4) ); + WorldPacket data(SMSG_WEATHER, (4+4+4)); data << (uint32)WEATHER_STATE_FINE << (float)0.0f << uint8(0); - player->GetSession()->SendPacket( &data ); + player->GetSession()->SendPacket(&data); } /// Send the new weather to all players in the zone @@ -217,9 +217,9 @@ bool Weather::UpdateWeather() WeatherState state = GetWeatherState(); - WorldPacket data( SMSG_WEATHER, (4+4+4) ); + WorldPacket data(SMSG_WEATHER, (4+4+4)); data << uint32(state) << (float)m_grade << uint8(0); - player->SendMessageToSet( &data, true ); + player->SendMessageToSet(&data, true); ///- Log the event char const* wthstr; |