diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-31 23:59:57 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-31 23:59:57 +0200 |
commit | 7824ce9d6352664bd291e57a3084e5c51af5d4a6 (patch) | |
tree | 8ba7b1476ec2c807b9ed2f0d7cb224f219dbd57b /source/cPiston.cpp | |
parent | Fix for the nightbuild script packing the wrong PDBs (diff) | |
download | cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.gz cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.bz2 cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.lz cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.xz cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.zst cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cPiston.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cPiston.cpp b/source/cPiston.cpp index 464db8911..dd8541a10 100644 --- a/source/cPiston.cpp +++ b/source/cPiston.cpp @@ -86,7 +86,7 @@ void cPiston::ExtendPiston( int pistx, int pisty, int pistz ) oldy = pisty; oldz = pistz; } - m_World->BroadcastBlockAction(pistx, pisty, pistz, 0, pistonMeta); + m_World->BroadcastBlockAction(pistx, pisty, pistz, 0, pistonMeta, E_BLOCK_PISTON); m_World->FastSetBlock( pistx, pisty, pistz, pistonBlock, pistonMeta | 0x8 ); int extx = pistx; @@ -118,7 +118,7 @@ void cPiston::RetractPiston( int pistx, int pisty, int pistz ) { return; } - m_World->BroadcastBlockAction(pistx, pisty, pistz, 1, pistonMeta & ~(8)); + m_World->BroadcastBlockAction(pistx, pisty, pistz, 1, pistonMeta & ~(8), E_BLOCK_PISTON); m_World->FastSetBlock(pistx, pisty, pistz, pistonBlock, pistonMeta & ~(8)); AddDir(pistx, pisty, pistz, pistonMeta & 7, 1) |