diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-21 11:59:59 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-21 11:59:59 +0100 |
commit | ee34d805bebe7826fb6cae9a350c625974c4bd74 (patch) | |
tree | 12c2c068f32c5116c3d116936119b5e1e286db8b /source/squirrelbindings/SquirrelBindings.cpp | |
parent | Fixed a crash in redstone simulator when destroying blocks in Y < 2 (diff) | |
download | cuberite-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 'source/squirrelbindings/SquirrelBindings.cpp')
-rw-r--r-- | source/squirrelbindings/SquirrelBindings.cpp | 2 |
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)
|