From cd217f9490ef58b0b3c8cd4cd5a4578b4b380547 Mon Sep 17 00:00:00 2001 From: Foereaper Date: Sat, 14 Feb 2015 10:35:46 +0100 Subject: [PATCH] Added MANGOS define Since Mangos Two also has the new weather system, add definition. Entire block should be refactored as soon as possible. --- MapMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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