diff --git a/MapMethods.h b/MapMethods.h index b0a1e83..d9d1279 100644 --- a/MapMethods.h +++ b/MapMethods.h @@ -259,7 +259,7 @@ namespace LuaMap uint32 weatherType = Eluna::CHECKVAL(L, 3); float grade = Eluna::CHECKVAL(L, 4); -#if (defined(CMANGOS) && defined(WOTLK)) +#if ((defined(MANGOS) || defined(CMANGOS)) && defined(WOTLK)) if (Weather::IsValidWeatherType(weatherType)) map->SetWeather(zoneId, (WeatherType)weatherType, grade, false); #else