diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-10 15:37:23 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-10 15:37:23 +0100 |
commit | c497a34536bb896bbf046cee5d1cbb0eb30be559 (patch) | |
tree | f8ed3ed70e1c7e6586961bb6193bff8552e4e0d1 /source/ManualBindings.cpp | |
parent | Removed useless logging from cEntity::GetLookVector() (diff) | |
download | cuberite-c497a34536bb896bbf046cee5d1cbb0eb30be559.tar cuberite-c497a34536bb896bbf046cee5d1cbb0eb30be559.tar.gz cuberite-c497a34536bb896bbf046cee5d1cbb0eb30be559.tar.bz2 cuberite-c497a34536bb896bbf046cee5d1cbb0eb30be559.tar.lz cuberite-c497a34536bb896bbf046cee5d1cbb0eb30be559.tar.xz cuberite-c497a34536bb896bbf046cee5d1cbb0eb30be559.tar.zst cuberite-c497a34536bb896bbf046cee5d1cbb0eb30be559.zip |
Diffstat (limited to 'source/ManualBindings.cpp')
-rw-r--r-- | source/ManualBindings.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp index b7d31a79d..63697f8dd 100644 --- a/source/ManualBindings.cpp +++ b/source/ManualBindings.cpp @@ -35,8 +35,8 @@ int tolua_do_error(lua_State* L, const char * a_pMsg, tolua_Error * a_pToLuaErro { // Retrieve current function name lua_Debug entry; - ASSERT( lua_getstack(L, 0, &entry) ); - ASSERT( lua_getinfo(L, "n", &entry) ); + VERIFY(lua_getstack(L, 0, &entry)); + VERIFY(lua_getinfo(L, "n", &entry)); // Insert function name into error msg AString msg(a_pMsg); @@ -55,8 +55,8 @@ int lua_do_error(lua_State* L, const char * a_pFormat, ...) { // Retrieve current function name lua_Debug entry; - ASSERT( lua_getstack(L, 0, &entry) ); - ASSERT( lua_getinfo(L, "n", &entry) ); + VERIFY(lua_getstack(L, 0, &entry)); + VERIFY(lua_getinfo(L, "n", &entry)); // Insert function name into error msg AString msg(a_pFormat); |