summaryrefslogtreecommitdiffstats
path: root/source/ManualBindings.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-10 15:37:23 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-10 15:37:23 +0100
commitc497a34536bb896bbf046cee5d1cbb0eb30be559 (patch)
treef8ed3ed70e1c7e6586961bb6193bff8552e4e0d1 /source/ManualBindings.cpp
parentRemoved useless logging from cEntity::GetLookVector() (diff)
downloadcuberite-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 '')
-rw-r--r--source/ManualBindings.cpp8
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);