From a46e0074b9a8f73079ed2ff1f5125ec7f79114d6 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sat, 9 Aug 2014 00:07:41 +0300 Subject: [PATCH] Fix mangos zero rel20 build for new changes --- UnitMethods.h | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/UnitMethods.h b/UnitMethods.h index 1c4c83e..8588fe6 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -558,17 +558,7 @@ namespace LuaUnit #ifdef TRINITY if (powerType == -1) return unit->getPowerType(); -#endif -#ifdef MANGOS -#if (defined(WOTLK)) - if (powerType == -1) - return unit->GetPowerType(); #else - if (powerType == -1) - return unit->getPowerType(); -#endif -#endif -#ifdef CMANGOS if (powerType == -1) return unit->GetPowerType(); #endif @@ -615,15 +605,7 @@ namespace LuaUnit { #ifdef TRINITY Eluna::Push(L, unit->getPowerType()); -#endif -#ifdef MANGOS -#if (defined(WOTLK)) - Eluna::Push(L, unit->GetPowerType()); #else - Eluna::Push(L, unit->getPowerType()); -#endif -#endif -#ifdef CMANGOS Eluna::Push(L, unit->GetPowerType()); #endif return 1; @@ -940,15 +922,7 @@ namespace LuaUnit #ifdef TRINITY unit->setPowerType((Powers)type); -#endif -#ifdef MANGOS -#if (defined(WOTLK)) - unit->SetPowerType((Powers)type); #else - unit->setPowerType((Powers)type); -#endif -#endif -#ifdef CMANGOS unit->SetPowerType((Powers)type); #endif return 0;