summaryrefslogtreecommitdiffstats
path: root/source/Bindings.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-07 18:12:22 +0200
committermadmaxoft <github@xoft.cz>2013-09-07 18:12:22 +0200
commit3b1c83acf8a0592f3c09a6bd530f8b695272b1ab (patch)
treef95b5f62aec5fb41cc8d1d1d1bed5f1e8e135ac3 /source/Bindings.cpp
parentArrows have proper yaw and pitch when shot, and stop when they hit a block. (diff)
downloadcuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.gz
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.bz2
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.lz
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.xz
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.zst
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.zip
Diffstat (limited to '')
-rw-r--r--source/Bindings.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp
index ad9e85ada..d30636ba9 100644
--- a/source/Bindings.cpp
+++ b/source/Bindings.cpp
@@ -12428,9 +12428,9 @@ static int tolua_AllToLua_cWorld_WakeUpSimulatorsInArea00(lua_State* tolua_S)
}
#endif //#ifndef TOLUA_DISABLE
-/* method: DoExplosiontAt of class cWorld */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_DoExplosiontAt00
-static int tolua_AllToLua_cWorld_DoExplosiontAt00(lua_State* tolua_S)
+/* method: DoExplosionAt of class cWorld */
+#ifndef TOLUA_DISABLE_tolua_AllToLua_cWorld_DoExplosionAt00
+static int tolua_AllToLua_cWorld_DoExplosionAt00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
tolua_Error tolua_err;
@@ -12458,16 +12458,16 @@ static int tolua_AllToLua_cWorld_DoExplosiontAt00(lua_State* tolua_S)
eExplosionSource a_Source = ((eExplosionSource) (int) tolua_tonumber(tolua_S,7,0));
void* a_SourceData = ((void*) tolua_touserdata(tolua_S,8,0));
#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DoExplosiontAt'", NULL);
+ if (!self) tolua_error(tolua_S,"invalid 'self' in function 'DoExplosionAt'", NULL);
#endif
{
- self->DoExplosiontAt(a_ExplosionSize,a_BlockX,a_BlockY,a_BlockZ,a_CanCauseFire,a_Source,a_SourceData);
+ self->DoExplosionAt(a_ExplosionSize,a_BlockX,a_BlockY,a_BlockZ,a_CanCauseFire,a_Source,a_SourceData);
}
}
return 0;
#ifndef TOLUA_RELEASE
tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'DoExplosiontAt'.",&tolua_err);
+ tolua_error(tolua_S,"#ferror in function 'DoExplosionAt'.",&tolua_err);
return 0;
#endif
}
@@ -29808,7 +29808,7 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S)
tolua_function(tolua_S,"GetSpawnZ",tolua_AllToLua_cWorld_GetSpawnZ00);
tolua_function(tolua_S,"WakeUpSimulators",tolua_AllToLua_cWorld_WakeUpSimulators00);
tolua_function(tolua_S,"WakeUpSimulatorsInArea",tolua_AllToLua_cWorld_WakeUpSimulatorsInArea00);
- tolua_function(tolua_S,"DoExplosiontAt",tolua_AllToLua_cWorld_DoExplosiontAt00);
+ tolua_function(tolua_S,"DoExplosionAt",tolua_AllToLua_cWorld_DoExplosionAt00);
tolua_function(tolua_S,"GetSignLines",tolua_AllToLua_cWorld_GetSignLines00);
tolua_function(tolua_S,"GrowTree",tolua_AllToLua_cWorld_GrowTree00);
tolua_function(tolua_S,"GrowTreeFromSapling",tolua_AllToLua_cWorld_GrowTreeFromSapling00);