summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings_World.cpp
diff options
context:
space:
mode:
authorArnaud Meuret <arnaud@meuret.net>2016-01-02 22:02:02 +0100
committerArnaud Meuret <arnaud@meuret.net>2016-01-02 22:02:02 +0100
commite19109465d046b476bbf835f6609ffeba3ec14ff (patch)
tree3cdffc73cd92af2d6833bf966adfcfd16d96c12d /src/Bindings/ManualBindings_World.cpp
parentMerge pull request #2840 from cuberite/RenameToCuberite (diff)
downloadcuberite-e19109465d046b476bbf835f6609ffeba3ec14ff.tar
cuberite-e19109465d046b476bbf835f6609ffeba3ec14ff.tar.gz
cuberite-e19109465d046b476bbf835f6609ffeba3ec14ff.tar.bz2
cuberite-e19109465d046b476bbf835f6609ffeba3ec14ff.tar.lz
cuberite-e19109465d046b476bbf835f6609ffeba3ec14ff.tar.xz
cuberite-e19109465d046b476bbf835f6609ffeba3ec14ff.tar.zst
cuberite-e19109465d046b476bbf835f6609ffeba3ec14ff.zip
Diffstat (limited to 'src/Bindings/ManualBindings_World.cpp')
-rw-r--r--src/Bindings/ManualBindings_World.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Bindings/ManualBindings_World.cpp b/src/Bindings/ManualBindings_World.cpp
index 225e71af5..f40af9778 100644
--- a/src/Bindings/ManualBindings_World.cpp
+++ b/src/Bindings/ManualBindings_World.cpp
@@ -36,9 +36,9 @@ static int tolua_cWorld_BroadcastParticleEffect(lua_State * tolua_S)
AString Name;
float PosX, PosY, PosZ, OffX, OffY, OffZ;
float ParticleData;
- int ParticleAmmount;
+ int ParticleAmount;
cClientHandle * ExcludeClient = nullptr;
- L.GetStackValues(1, World, Name, PosX, PosY, PosZ, OffX, OffY, OffZ, ParticleData, ParticleAmmount, ExcludeClient);
+ L.GetStackValues(1, World, Name, PosX, PosY, PosZ, OffX, OffY, OffZ, ParticleData, ParticleAmount, ExcludeClient);
if (World == nullptr)
{
LOGWARNING("World:BroadcastParticleEffect(): invalid world parameter");
@@ -53,7 +53,7 @@ static int tolua_cWorld_BroadcastParticleEffect(lua_State * tolua_S)
L.GetStackValue(11 + i, data[static_cast<size_t>(i)]);
}
- World->GetBroadcaster().BroadcastParticleEffect(Name, Vector3f(PosX, PosY, PosZ), Vector3f(OffX, OffY, OffZ), ParticleData, ParticleAmmount, ExcludeClient);
+ World->GetBroadcaster().BroadcastParticleEffect(Name, Vector3f(PosX, PosY, PosZ), Vector3f(OffX, OffY, OffZ), ParticleData, ParticleAmount, ExcludeClient);
return 0;
}