Eluna add GetWorldObject by guid to map methods. Closes #64 requires use of guid

This commit is contained in:
Rochet2
2014-06-08 21:32:29 +03:00
committed by Foereaper
parent eab5c0693b
commit 37a0161f29
3 changed files with 39 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ ENDCALL();
#define ENDCALL() \
if (_LuaReturnValues != LUA_MULTRET && lua_gettop(L) != _LuaStackTop + _LuaReturnValues) \
{ \
ELUNA_LOG_ERROR("[Eluna]: Ending event %u, stack top was %i and was supposed to be %i. Report to devs", _LuaEvent, lua_gettop(L), _LuaStackTop); \
ELUNA_LOG_ERROR("[Eluna]: Ending event %u, stack top was %i and was supposed to be %i. Report to devs", _LuaEvent, lua_gettop(L), _LuaStackTop + _LuaReturnValues); \
} \
lua_settop(L, _LuaStackTop);