mirror of
https://github.com/azerothcore/mod-ale
synced 2025-12-01 21:15:19 +08:00
Fix TC build
This commit is contained in:
@@ -3213,11 +3213,15 @@ namespace LuaPlayer
|
|||||||
#endif
|
#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)
|
int AdvanceSkillsToMax(lua_State* /*L*/, Player* player)
|
||||||
{
|
{
|
||||||
|
#ifdef TRINITY
|
||||||
|
player->UpdateWeaponsSkillsToMaxSkillsForLevel();
|
||||||
|
#else
|
||||||
player->UpdateSkillsToMaxSkillsForLevel();
|
player->UpdateSkillsToMaxSkillsForLevel();
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user