diff options
author | madmaxoft <github@xoft.cz> | 2013-08-14 10:24:34 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-14 10:24:34 +0200 |
commit | 8c3837987bd5f74563790c15a1d52755383135ae (patch) | |
tree | b91188a05d3a3053d5ad08cd7bb550c9d4b5518b /source/Bindings.cpp | |
parent | Exported cWorld:BroadcastChat() to the Lua API; used in the Core. (diff) | |
download | cuberite-8c3837987bd5f74563790c15a1d52755383135ae.tar cuberite-8c3837987bd5f74563790c15a1d52755383135ae.tar.gz cuberite-8c3837987bd5f74563790c15a1d52755383135ae.tar.bz2 cuberite-8c3837987bd5f74563790c15a1d52755383135ae.tar.lz cuberite-8c3837987bd5f74563790c15a1d52755383135ae.tar.xz cuberite-8c3837987bd5f74563790c15a1d52755383135ae.tar.zst cuberite-8c3837987bd5f74563790c15a1d52755383135ae.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Bindings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp index 8feb070e1..a0ad85156 100644 --- a/source/Bindings.cpp +++ b/source/Bindings.cpp @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 08/13/13 23:07:52. +** Generated automatically by tolua++-1.0.92 on 08/14/13 08:14:03. */ #ifndef __cplusplus @@ -11295,14 +11295,14 @@ static int tolua_AllToLua_cServer_GetNumPlayers00(lua_State* tolua_S) #ifndef TOLUA_RELEASE tolua_Error tolua_err; if ( - !tolua_isusertype(tolua_S,1,"const cServer",0,&tolua_err) || + !tolua_isusertype(tolua_S,1,"cServer",0,&tolua_err) || !tolua_isnoobj(tolua_S,2,&tolua_err) ) goto tolua_lerror; else #endif { - const cServer* self = (const cServer*) tolua_tousertype(tolua_S,1,0); + cServer* self = (cServer*) tolua_tousertype(tolua_S,1,0); #ifndef TOLUA_RELEASE if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumPlayers'", NULL); #endif |