summaryrefslogtreecommitdiffstats
path: root/source/Bindings.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 15:00:58 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 15:00:58 +0100
commite34f097543c7a2b733a6d6a8b55a26a6777b5e83 (patch)
tree9c58c9263dd8c9f9385954df1d6801c5be1ae17a /source/Bindings.cpp
parentFixed FS #268 - if a block entity breaking is disallowed by a plugin, the entire blockentity is sent back to the client (diff)
downloadcuberite-e34f097543c7a2b733a6d6a8b55a26a6777b5e83.tar
cuberite-e34f097543c7a2b733a6d6a8b55a26a6777b5e83.tar.gz
cuberite-e34f097543c7a2b733a6d6a8b55a26a6777b5e83.tar.bz2
cuberite-e34f097543c7a2b733a6d6a8b55a26a6777b5e83.tar.lz
cuberite-e34f097543c7a2b733a6d6a8b55a26a6777b5e83.tar.xz
cuberite-e34f097543c7a2b733a6d6a8b55a26a6777b5e83.tar.zst
cuberite-e34f097543c7a2b733a6d6a8b55a26a6777b5e83.zip
Diffstat (limited to 'source/Bindings.cpp')
-rw-r--r--source/Bindings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp
index 40c5d719a..ed082c93e 100644
--- a/source/Bindings.cpp
+++ b/source/Bindings.cpp
@@ -1,6 +1,6 @@
/*
** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 11/01/12 22:24:07.
+** Generated automatically by tolua++-1.0.92 on 11/11/12 14:50:43.
*/
#ifndef __cplusplus
@@ -3882,14 +3882,14 @@ static int tolua_AllToLua_cClientHandle_GetViewDistance00(lua_State* tolua_S)
#ifndef TOLUA_RELEASE
tolua_Error tolua_err;
if (
- !tolua_isusertype(tolua_S,1,"cClientHandle",0,&tolua_err) ||
+ !tolua_isusertype(tolua_S,1,"const cClientHandle",0,&tolua_err) ||
!tolua_isnoobj(tolua_S,2,&tolua_err)
)
goto tolua_lerror;
else
#endif
{
- cClientHandle* self = (cClientHandle*) tolua_tousertype(tolua_S,1,0);
+ const cClientHandle* self = (const cClientHandle*) tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetViewDistance'", NULL);
#endif
@@ -11542,7 +11542,7 @@ static int tolua_AllToLua_cWorld_SetWorldTime00(lua_State* tolua_S)
#endif
{
cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0);
- long long a_TimeOfDay = ((long long) tolua_tonumber(tolua_S,2,0));
+ long long a_TimeOfDay = (( long long) tolua_tonumber(tolua_S,2,0));
#ifndef TOLUA_RELEASE
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetWorldTime'", NULL);
#endif