diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-29 14:07:22 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-29 14:07:22 +0200 |
commit | 9dc0e3c2335fa6aacd0974b161bd96772639bf52 (patch) | |
tree | 28381c0f45393be618e31c8475a049520128cb71 /source/Bindings.cpp | |
parent | Fixed warnings in md5 (diff) | |
download | cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.gz cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.bz2 cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.lz cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.xz cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.zst cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.zip |
Diffstat (limited to 'source/Bindings.cpp')
-rw-r--r-- | source/Bindings.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp index 9f780d6aa..d31298c56 100644 --- a/source/Bindings.cpp +++ b/source/Bindings.cpp @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 07/15/12 22:27:57. +** Generated automatically by tolua++-1.0.92 on 07/29/12 13:49:55. */ #ifndef __cplusplus @@ -2572,7 +2572,7 @@ static int tolua_AllToLua_BlockStringToType00(lua_State* tolua_S) { const AString a_BlockTypeString = ((const AString) tolua_tocppstring(tolua_S,1,0)); { - int tolua_ret = (int) BlockStringToType(a_BlockTypeString); + char tolua_ret = ( char) BlockStringToType(a_BlockTypeString); tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); tolua_pushcppstring(tolua_S,(const char*)a_BlockTypeString); } @@ -21384,6 +21384,7 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S) tolua_constant(tolua_S,"E_ITEM_DEAD_BRUSH",E_ITEM_DEAD_BRUSH); tolua_constant(tolua_S,"E_ITEM_PISTON",E_ITEM_PISTON); tolua_constant(tolua_S,"E_ITEM_PISTON_EXTENSION",E_ITEM_PISTON_EXTENSION); + tolua_constant(tolua_S,"E_ITEM_WOOL",E_ITEM_WOOL); tolua_constant(tolua_S,"E_ITEM_WHITE_CLOTH",E_ITEM_WHITE_CLOTH); tolua_constant(tolua_S,"E_ITEM_PISTON_MOVED_BLOCK",E_ITEM_PISTON_MOVED_BLOCK); tolua_constant(tolua_S,"E_ITEM_YELLOW_FLOWER",E_ITEM_YELLOW_FLOWER); |