* Add ScriptName to game_weather.

--HG--
branch : trunk
This commit is contained in:
XTZGZoReX
2010-08-06 16:28:17 +02:00
parent fda697a1e7
commit fd34134a45
7 changed files with 30 additions and 15 deletions

View File

@@ -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;