Weather issue - disabled to prevent crash

Code commented out to prevent crash on entering game world

This will be addressed as soon as possible.
This commit is contained in:
Charles A Edwards 2016-08-13 17:02:21 +01:00 committed by Antz
parent 3a3d19fb18
commit 12f8fbf37d

View file

@ -6915,12 +6915,14 @@ void Player::UpdateZone(uint32 newZone, uint32 newArea)
sOutdoorPvPMgr.HandlePlayerEnterZone(this, newZone);
SendInitWorldStates(newZone, newArea); // only if really enters to new zone, not just area change, works strange...
// WEATHER ISSUE - commented out to prevent crash on entering game world
/*
if (sWorld.getConfig(CONFIG_BOOL_WEATHER))
{
Weather* wth = GetMap()->GetWeatherSystem()->FindOrCreateWeather(newZone);
wth->SendWeatherUpdateToPlayer(this);
}
*/
}
#ifdef ENABLE_ELUNA