From 8bac1aeb8fd75ed7a58dcb1975e0dcd449738711 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sat, 6 Jul 2019 23:38:15 +0300 Subject: [PATCH] Fix TC build --- PlayerMethods.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PlayerMethods.h b/PlayerMethods.h index 3f11946..407cb1f 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -1702,7 +1702,11 @@ namespace LuaPlayer { uint8 race = Eluna::CHECKVAL(L, 2); +#ifdef TRINITY + player->SetFactionForRace(race); +#else player->setFactionForRace(race); +#endif return 0; }