summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-09 00:32:02 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-09 00:32:02 +0200
commit218010cd96a3e887e7fbd8e18e1b74b7dc481036 (patch)
treebc4149f29ba75083b4e11aa4c5174c04bab92e08 /src/Bindings/ManualBindings.cpp
parentMerge pull request #1945 from Woazboat/CodeCleanup_refactored (diff)
downloadcuberite-218010cd96a3e887e7fbd8e18e1b74b7dc481036.tar
cuberite-218010cd96a3e887e7fbd8e18e1b74b7dc481036.tar.gz
cuberite-218010cd96a3e887e7fbd8e18e1b74b7dc481036.tar.bz2
cuberite-218010cd96a3e887e7fbd8e18e1b74b7dc481036.tar.lz
cuberite-218010cd96a3e887e7fbd8e18e1b74b7dc481036.tar.xz
cuberite-218010cd96a3e887e7fbd8e18e1b74b7dc481036.tar.zst
cuberite-218010cd96a3e887e7fbd8e18e1b74b7dc481036.zip
Diffstat (limited to 'src/Bindings/ManualBindings.cpp')
-rw-r--r--src/Bindings/ManualBindings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index 20042a780..e87c02181 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -2036,8 +2036,8 @@ static int tolua_cWorld_BroadcastParticleEffect(lua_State * tolua_S)
// Read the params:
cWorld * World = nullptr;
AString Name;
- double PosX, PosY, PosZ, OffX, OffY, OffZ;
- double ParticleData;
+ float PosX, PosY, PosZ, OffX, OffY, OffZ;
+ float ParticleData;
int ParticleAmmount;
L.GetStackValues(1, World, Name, PosX, PosY, PosZ, OffX, OffY, OffZ, ParticleData, ParticleAmmount);
if (World == nullptr)