From 12f8fbf37d442ef5985fb7c129e576c9cc55e37d Mon Sep 17 00:00:00 2001 From: Charles A Edwards Date: Sat, 13 Aug 2016 17:02:21 +0100 Subject: [PATCH] Weather issue - disabled to prevent crash Code commented out to prevent crash on entering game world This will be addressed as soon as possible. --- src/game/Object/Player.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/Object/Player.cpp b/src/game/Object/Player.cpp index d0d2ba512..d9665d17b 100644 --- a/src/game/Object/Player.cpp +++ b/src/game/Object/Player.cpp @@ -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