Fix TC build

This commit is contained in:
Rochet2
2016-04-14 21:02:59 +03:00
parent 404fe51cb9
commit ca52c49388

View File

@@ -810,7 +810,11 @@ namespace LuaUnit
*/ */
int GetStandState(Eluna* /*E*/, lua_State* L, Unit* unit) int GetStandState(Eluna* /*E*/, lua_State* L, Unit* unit)
{ {
#ifdef TRINITY
Eluna::Push(L, unit->GetStandState());
#else
Eluna::Push(L, unit->getStandState()); Eluna::Push(L, unit->getStandState());
#endif
return 1; return 1;
} }