mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
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:
parent
3a3d19fb18
commit
12f8fbf37d
1 changed files with 3 additions and 1 deletions
|
|
@ -6915,12 +6915,14 @@ void Player::UpdateZone(uint32 newZone, uint32 newArea)
|
||||||
sOutdoorPvPMgr.HandlePlayerEnterZone(this, newZone);
|
sOutdoorPvPMgr.HandlePlayerEnterZone(this, newZone);
|
||||||
|
|
||||||
SendInitWorldStates(newZone, newArea); // only if really enters to new zone, not just area change, works strange...
|
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))
|
if (sWorld.getConfig(CONFIG_BOOL_WEATHER))
|
||||||
{
|
{
|
||||||
Weather* wth = GetMap()->GetWeatherSystem()->FindOrCreateWeather(newZone);
|
Weather* wth = GetMap()->GetWeatherSystem()->FindOrCreateWeather(newZone);
|
||||||
wth->SendWeatherUpdateToPlayer(this);
|
wth->SendWeatherUpdateToPlayer(this);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_ELUNA
|
#ifdef ENABLE_ELUNA
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue