Fix linux build and warnings

This commit is contained in:
Rochet2
2014-12-19 15:16:02 +02:00
parent 78d18e8fee
commit dcd0a0e89c
9 changed files with 22 additions and 25 deletions

View File

@@ -1317,7 +1317,7 @@ namespace LuaPlayer
/* OTHER */
#if (!defined(TBC) && !defined(CLASSIC))
int ResetPetTalents(Eluna* /*E*/, lua_State* L, Player* player)
int ResetPetTalents(Eluna* /*E*/, lua_State* /*L*/, Player* player)
{
#ifndef TRINITY
Pet* pet = player->GetPet();
@@ -1331,7 +1331,7 @@ namespace LuaPlayer
return 0;
}
int ResetAchievements(Eluna* /*E*/, lua_State* L, Player* player)
int ResetAchievements(Eluna* /*E*/, lua_State* /*L*/, Player* player)
{
#ifndef TRINITY
player->GetAchievementMgr().Reset();