Fix TC build

This commit is contained in:
Rochet2
2017-06-17 00:56:52 +03:00
parent 73fdcfe83f
commit 6804f6e90f

View File

@@ -3213,11 +3213,15 @@ namespace LuaPlayer
#endif
/**
* Advances all of the [Player]s skills to the maximum amount available
* Advances all of the [Player]s weapon skills to the maximum amount available
*/
int AdvanceSkillsToMax(lua_State* /*L*/, Player* player)
{
#ifdef TRINITY
player->UpdateWeaponsSkillsToMaxSkillsForLevel();
#else
player->UpdateSkillsToMaxSkillsForLevel();
#endif
return 0;
}