summaryrefslogtreecommitdiffstats
path: root/source/Bindings.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-21 23:19:47 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-21 23:19:47 +0200
commite2281df8d8200973706c19bc512f2e3ec70d765b (patch)
treeed871b9256f7ea55b2f64e95a263759cb2be29f4 /source/Bindings.cpp
parentExplosions don't produce warnings in cBlockArea; fixed logging in cBlockArea (diff)
downloadcuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.gz
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.bz2
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.lz
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.xz
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.zst
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.zip
Diffstat (limited to '')
-rw-r--r--source/Bindings.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp
index 15e31fbff..2432bc04f 100644
--- a/source/Bindings.cpp
+++ b/source/Bindings.cpp
@@ -1,6 +1,6 @@
/*
** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 06/21/13 22:48:20.
+** Generated automatically by tolua++-1.0.92 on 06/21/13 23:03:07.
*/
#ifndef __cplusplus
@@ -11622,7 +11622,8 @@ static int tolua_AllToLua_cWorld_SpawnPrimedTNT00(lua_State* tolua_S)
!tolua_isnumber(tolua_S,3,0,&tolua_err) ||
!tolua_isnumber(tolua_S,4,0,&tolua_err) ||
!tolua_isnumber(tolua_S,5,0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,6,&tolua_err)
+ !tolua_isnumber(tolua_S,6,1,&tolua_err) ||
+ !tolua_isnoobj(tolua_S,7,&tolua_err)
)
goto tolua_lerror;
else
@@ -11633,11 +11634,12 @@ static int tolua_AllToLua_cWorld_SpawnPrimedTNT00(lua_State* tolua_S)
double a_Y = ((double) tolua_tonumber(tolua_S,3,0));
double a_Z = ((double) tolua_tonumber(tolua_S,4,0));
float a_FuseTimeInSec = ((float) tolua_tonumber(tolua_S,5,0));
+ double a_InitialVelocityCoeff = ((double) tolua_tonumber(tolua_S,6,1));
#ifndef TOLUA_RELEASE
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SpawnPrimedTNT'", NULL);
#endif
{
- self->SpawnPrimedTNT(a_X,a_Y,a_Z,a_FuseTimeInSec);
+ self->SpawnPrimedTNT(a_X,a_Y,a_Z,a_FuseTimeInSec,a_InitialVelocityCoeff);
}
}
return 0;