summaryrefslogtreecommitdiffstats
path: root/source/cRedstone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cRedstone.cpp')
-rw-r--r--source/cRedstone.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/cRedstone.cpp b/source/cRedstone.cpp
index 111c012e2..77a3400fc 100644
--- a/source/cRedstone.cpp
+++ b/source/cRedstone.cpp
@@ -64,13 +64,10 @@ void cRedstone::ChangeRedstoneTorch( int fillx, int filly, int fillz, bool added
void cRedstone::LightRedstone( int fillx, int filly, int fillz, char metadata)
{
if ( ( (int)m_World->GetBlock( fillx, filly, fillz ) == E_BLOCK_STICKY_PISTON ) || ( (int)m_World->GetBlock( fillx, filly, fillz ) == E_BLOCK_PISTON ) ) {
- printf("rsPiston 1\n");
cPiston Piston(m_World);
if (metadata > 0) {
- printf("rsPiston 2\n");
Piston.ExtendPiston(fillx, filly, fillz);
} else {
- printf("rsPiston 3\n");
Piston.RetractPiston(fillx, filly, fillz);
}
} else if ( ( (int)m_World->GetBlock( fillx, filly, fillz ) == E_BLOCK_REDSTONE_WIRE) && ( (int)m_World->GetBlockMeta( fillx, filly, fillz) != metadata ) ) {