Fix TC build

This commit is contained in:
Rochet2
2015-09-24 11:48:07 +03:00
parent 7ec215b2d7
commit 8daaf04994
8 changed files with 97 additions and 24 deletions

View File

@@ -182,7 +182,11 @@ namespace LuaObject
*/
int GetGUIDLow(Eluna* /*E*/, lua_State* L, Object* obj)
{
#ifdef TRINITY
Eluna::Push(L, obj->GetGUID().GetCounter());
#else
Eluna::Push(L, obj->GetGUIDLow());
#endif
return 1;
}