summaryrefslogtreecommitdiffstats
path: root/source/Bindings.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-16 09:25:23 +0200
committermadmaxoft <github@xoft.cz>2013-09-16 09:25:23 +0200
commit40d295da26c9628478d89369f65e53568feb2a5b (patch)
tree8c5f0efb108f7a57dacf6ffe2f48470579258e5d /source/Bindings.cpp
parentAPIDump: Next batch of cWorld documentation. (diff)
downloadcuberite-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 '')
-rw-r--r--source/Bindings.cpp6
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;