Fix TC build

This commit is contained in:
Rochet2
2019-07-06 23:38:15 +03:00
parent 34151cc744
commit 8bac1aeb8f

View File

@@ -1702,7 +1702,11 @@ namespace LuaPlayer
{
uint8 race = Eluna::CHECKVAL<uint8>(L, 2);
#ifdef TRINITY
player->SetFactionForRace(race);
#else
player->setFactionForRace(race);
#endif
return 0;
}