From ca52c4938871132c2225752b9ef32c010e7de791 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Thu, 14 Apr 2016 21:02:59 +0300 Subject: [PATCH] Fix TC build --- UnitMethods.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UnitMethods.h b/UnitMethods.h index 086f395..dac49bd 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -810,7 +810,11 @@ namespace LuaUnit */ int GetStandState(Eluna* /*E*/, lua_State* L, Unit* unit) { +#ifdef TRINITY + Eluna::Push(L, unit->GetStandState()); +#else Eluna::Push(L, unit->getStandState()); +#endif return 1; }