diff --git a/src/LuaEngine/AuraMethods.h b/src/LuaEngine/AuraMethods.h index 2e6589f3f1..081da95342 100644 --- a/src/LuaEngine/AuraMethods.h +++ b/src/LuaEngine/AuraMethods.h @@ -54,11 +54,7 @@ namespace LuaAura */ int GetCasterLevel(lua_State* L, Aura* aura) { -#ifdef TRINITY Eluna::Push(L, aura->GetCaster()->GetLevel()); -#else - Eluna::Push(L, aura->GetCaster()->getLevel()); -#endif return 1; } diff --git a/src/LuaEngine/UnitMethods.h b/src/LuaEngine/UnitMethods.h index 2f985a702a..6e26113623 100644 --- a/src/LuaEngine/UnitMethods.h +++ b/src/LuaEngine/UnitMethods.h @@ -836,11 +836,7 @@ namespace LuaUnit */ int GetLevel(lua_State* L, Unit* unit) { -#ifdef TRINITY Eluna::Push(L, unit->GetLevel()); -#else - Eluna::Push(L, unit->getLevel()); -#endif return 1; }