Fix TC build after 7567cafec8

This commit is contained in:
Rochet2
2017-03-06 20:49:35 +02:00
parent a4a6ee2233
commit 3a6b8a3491

View File

@@ -123,7 +123,11 @@ namespace LuaGlobalFunctions
*/
int GetGameTime(Eluna* /*E*/, lua_State* L)
{
#ifdef TRINITY
Eluna::Push(L, GameTime::GetGameTime());
#else
Eluna::Push(L, eWorld->GetGameTime());
#endif
return 1;
}