mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix linux warnings Implement #72
This commit is contained in:
@@ -104,7 +104,6 @@ namespace LuaAura
|
||||
int SetStackAmount(lua_State* L, Aura* aura)
|
||||
{
|
||||
int amount = Eluna::CHECKVAL<int>(L, 2);
|
||||
int duration = Eluna::CHECKVAL<int>(L, 2);
|
||||
#ifdef MANGOS
|
||||
aura->GetHolder()->SetStackAmount(amount);
|
||||
#else
|
||||
@@ -113,7 +112,7 @@ namespace LuaAura
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Remove(lua_State* L, Aura* aura)
|
||||
int Remove(lua_State* /*L*/, Aura* aura)
|
||||
{
|
||||
#ifdef MANGOS
|
||||
aura->GetHolder()->RemoveAura(aura->GetEffIndex());
|
||||
|
||||
Reference in New Issue
Block a user