aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Weather/Weather.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2010-08-06 16:28:17 +0200
committerXTZGZoReX <none@none>2010-08-06 16:28:17 +0200
commitfd34134a455314dcd404fd928453b816554bfb3f (patch)
treed597dbeb59f7eeac402839a539b38f454afb91a1 /src/server/game/Weather/Weather.cpp
parentfda697a1e75201fd1e8828f792741a56f6136f64 (diff)
* Add ScriptName to game_weather.
--HG-- branch : trunk
Diffstat (limited to 'src/server/game/Weather/Weather.cpp')
-rw-r--r--src/server/game/Weather/Weather.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Weather/Weather.cpp b/src/server/game/Weather/Weather.cpp
index 0bfb7f19345..5c5779a6506 100644
--- a/src/server/game/Weather/Weather.cpp
+++ b/src/server/game/Weather/Weather.cpp
@@ -31,7 +31,8 @@
#include "Util.h"
/// Create the Weather object
-Weather::Weather(uint32 zone, WeatherZoneChances const* weatherChances) : m_zone(zone), m_weatherChances(weatherChances)
+Weather::Weather(uint32 zone, WeatherData const* weatherChances)
+ : m_zone(zone), m_weatherChances(weatherChances)
{
m_timer.SetInterval(sWorld.getConfig(CONFIG_INTERVAL_CHANGEWEATHER));
m_type = WEATHER_TYPE_FINE;