diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-25 23:59:13 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-25 23:59:13 +0200 |
commit | 7cf9ddaa48b40e845a9317f1cf07f929d3c231b3 (patch) | |
tree | 21d1fd080fd0e653c9acb31bd0b37a2535ade583 /source/Bindings.cpp | |
parent | cWorld doesn't use cPackets. (diff) | |
download | cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.gz cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.bz2 cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.lz cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.xz cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.zst cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.zip |
Diffstat (limited to 'source/Bindings.cpp')
-rw-r--r-- | source/Bindings.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp index f1f051ef5..56e17be1a 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/24/12 10:55:13. +** Generated automatically by tolua++-1.0.92 on 08/25/12 23:57:06. */ #ifndef __cplusplus @@ -12264,14 +12264,14 @@ static int tolua_AllToLua_cWorld_CastThunderbolt00(lua_State* tolua_S) #endif { cWorld* self = (cWorld*) tolua_tousertype(tolua_S,1,0); - int a_X = ((int) tolua_tonumber(tolua_S,2,0)); - int a_Y = ((int) tolua_tonumber(tolua_S,3,0)); - int a_Z = ((int) tolua_tonumber(tolua_S,4,0)); + int a_BlockX = ((int) tolua_tonumber(tolua_S,2,0)); + int a_BlockY = ((int) tolua_tonumber(tolua_S,3,0)); + int a_BlockZ = ((int) tolua_tonumber(tolua_S,4,0)); #ifndef TOLUA_RELEASE if (!self) tolua_error(tolua_S,"invalid 'self' in function 'CastThunderbolt'", NULL); #endif { - self->CastThunderbolt(a_X,a_Y,a_Z); + self->CastThunderbolt(a_BlockX,a_BlockY,a_BlockZ); } } return 0; |