summaryrefslogtreecommitdiffstats
path: root/source/Piston.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-18 01:33:14 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-18 01:33:14 +0200
commit679085b520f32e898a88823b1c2d23a12a1764f1 (patch)
tree2d5b67b26e5fff7f27e40734ebc368f0e07088d0 /source/Piston.cpp
parentAnother compile fix (diff)
downloadcuberite-679085b520f32e898a88823b1c2d23a12a1764f1.tar
cuberite-679085b520f32e898a88823b1c2d23a12a1764f1.tar.gz
cuberite-679085b520f32e898a88823b1c2d23a12a1764f1.tar.bz2
cuberite-679085b520f32e898a88823b1c2d23a12a1764f1.tar.lz
cuberite-679085b520f32e898a88823b1c2d23a12a1764f1.tar.xz
cuberite-679085b520f32e898a88823b1c2d23a12a1764f1.tar.zst
cuberite-679085b520f32e898a88823b1c2d23a12a1764f1.zip
Diffstat (limited to 'source/Piston.cpp')
-rw-r--r--source/Piston.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Piston.cpp b/source/Piston.cpp
index 7ffa9febd..058f92a0e 100644
--- a/source/Piston.cpp
+++ b/source/Piston.cpp
@@ -173,6 +173,7 @@ void cPiston::RetractPiston( int pistx, int pisty, int pistz )
)
{
// These cannot be moved by the sticky piston, bail out
+ m_World->SetBlock(pistx, pisty, pistz, E_BLOCK_AIR, 0);
return;
}