feat: replace getLevel with GetLevel (#115)

This commit is contained in:
Axel Cocat
2023-04-02 21:01:47 +02:00
committed by GitHub
parent 108627f41e
commit b946914dfd
2 changed files with 0 additions and 8 deletions

View File

@@ -54,11 +54,7 @@ namespace LuaAura
*/ */
int GetCasterLevel(lua_State* L, Aura* aura) int GetCasterLevel(lua_State* L, Aura* aura)
{ {
#ifdef TRINITY
Eluna::Push(L, aura->GetCaster()->GetLevel()); Eluna::Push(L, aura->GetCaster()->GetLevel());
#else
Eluna::Push(L, aura->GetCaster()->getLevel());
#endif
return 1; return 1;
} }

View File

@@ -836,11 +836,7 @@ namespace LuaUnit
*/ */
int GetLevel(lua_State* L, Unit* unit) int GetLevel(lua_State* L, Unit* unit)
{ {
#ifdef TRINITY
Eluna::Push(L, unit->GetLevel()); Eluna::Push(L, unit->GetLevel());
#else
Eluna::Push(L, unit->getLevel());
#endif
return 1; return 1;
} }