summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-10 14:15:13 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-10 14:15:13 +0200
commit1cb1347c53c7482883dcc2eb047f8fe798a12481 (patch)
treebe616a3c3b2db083b2f3908220818231778609ef /src/Bindings/ManualBindings.cpp
parentMerge pull request #1985 from SafwatHalaby/lessPathCalcs (diff)
parentMerge remote-tracking branch 'origin/master' into warnings (diff)
downloadcuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.gz
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.bz2
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.lz
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.xz
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.zst
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.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 10f5ecb94..9b3c1555d 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)