summaryrefslogtreecommitdiffstats
path: root/source/squirrelbindings/SquirrelBindings.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-21 11:59:59 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-21 11:59:59 +0100
commitee34d805bebe7826fb6cae9a350c625974c4bd74 (patch)
tree12c2c068f32c5116c3d116936119b5e1e286db8b /source/squirrelbindings/SquirrelBindings.cpp
parentFixed a crash in redstone simulator when destroying blocks in Y < 2 (diff)
downloadcuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.gz
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.bz2
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.lz
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.xz
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.zst
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.zip
Diffstat (limited to '')
-rw-r--r--source/squirrelbindings/SquirrelBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/squirrelbindings/SquirrelBindings.cpp b/source/squirrelbindings/SquirrelBindings.cpp
index a463e55d1..876105f19 100644
--- a/source/squirrelbindings/SquirrelBindings.cpp
+++ b/source/squirrelbindings/SquirrelBindings.cpp
@@ -79,7 +79,7 @@ void BindSquirrel(HSQUIRRELVM vm)
.Func("SetPosX", &cEntity::SetPosX)
.Func("SetPosY", &cEntity::SetPosY)
.Func("SetPosZ", &cEntity::SetPosZ)
- .Func<void (cEntity::*) (const double &, const double &, const double &)>("SetPosition", &cEntity::SetPosition)
+ .Func<void (cEntity::*) (double, double, double)>("SetPosition", &cEntity::SetPosition)
.Func("GetUniqueID", &cEntity::GetUniqueID)
.Func("IsDestroyed", &cEntity::IsDestroyed)
.Func("Destroy", &cEntity::Destroy)