diff options
author | madmaxoft <github@xoft.cz> | 2013-09-16 09:25:23 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-16 09:25:23 +0200 |
commit | 40d295da26c9628478d89369f65e53568feb2a5b (patch) | |
tree | 8c5f0efb108f7a57dacf6ffe2f48470579258e5d /source/Bindings.cpp | |
parent | APIDump: Next batch of cWorld documentation. (diff) | |
download | cuberite-40d295da26c9628478d89369f65e53568feb2a5b.tar cuberite-40d295da26c9628478d89369f65e53568feb2a5b.tar.gz cuberite-40d295da26c9628478d89369f65e53568feb2a5b.tar.bz2 cuberite-40d295da26c9628478d89369f65e53568feb2a5b.tar.lz cuberite-40d295da26c9628478d89369f65e53568feb2a5b.tar.xz cuberite-40d295da26c9628478d89369f65e53568feb2a5b.tar.zst cuberite-40d295da26c9628478d89369f65e53568feb2a5b.zip |
Diffstat (limited to 'source/Bindings.cpp')
-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 7768b1279..82b4a1d92 100644 --- a/source/Bindings.cpp +++ b/source/Bindings.cpp @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 09/15/13 22:09:07. +** Generated automatically by tolua++-1.0.92 on 09/16/13 09:19:33. */ #ifndef __cplusplus @@ -13163,12 +13163,12 @@ static int tolua_AllToLua_cWorld_QueueBlockForTick00(lua_State* tolua_S) 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)); - float a_TimeToWait = ((float) tolua_tonumber(tolua_S,5,0)); + int a_TicksToWait = ((int) tolua_tonumber(tolua_S,5,0)); #ifndef TOLUA_RELEASE if (!self) tolua_error(tolua_S,"invalid 'self' in function 'QueueBlockForTick'", NULL); #endif { - self->QueueBlockForTick(a_BlockX,a_BlockY,a_BlockZ,a_TimeToWait); + self->QueueBlockForTick(a_BlockX,a_BlockY,a_BlockZ,a_TicksToWait); } } return 0; |