mirror of
https://github.com/azerothcore/mod-ale
synced 2025-12-01 21:15:19 +08:00
Change player access from sessions to players
This commit is contained in:
@@ -259,7 +259,7 @@ namespace LuaMap
|
||||
uint32 weatherType = Eluna::CHECKVAL<uint32>(L, 3);
|
||||
float grade = Eluna::CHECKVAL<float>(L, 4);
|
||||
|
||||
#if (defined(CMANGOS) && defined(WOTLK))
|
||||
#if ((defined(CMANGOS) || defined(MANGOS)) && defined(WOTLK))
|
||||
if (Weather::IsValidWeatherType(weatherType))
|
||||
map->SetWeather(zoneId, (WeatherType)weatherType, grade, false);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user