summaryrefslogtreecommitdiffstats
path: root/source/cPiston.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cPiston.cpp4
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)