From a655d7fdae2984a51445cf6ea81ad0c04d0d5691 Mon Sep 17 00:00:00 2001 From: faketruth Date: Sun, 4 Mar 2012 16:59:39 +0000 Subject: Removed redstone debugging: powered dirt blocks change into stone git-svn-id: http://mc-server.googlecode.com/svn/trunk@364 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cRedstoneSimulator.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/cRedstoneSimulator.cpp b/source/cRedstoneSimulator.cpp index 5f2bb1f58..f60978da6 100644 --- a/source/cRedstoneSimulator.cpp +++ b/source/cRedstoneSimulator.cpp @@ -82,17 +82,17 @@ void cRedstoneSimulator::RefreshTorchesAround( const Vector3i & a_BlockPos ) if( IsPowered( a_BlockPos, true ) ) { TargetBlockID = E_BLOCK_REDSTONE_TORCH_OFF; - if( m_World->GetBlock( a_BlockPos ) == E_BLOCK_DIRT ) - { - m_World->FastSetBlock( a_BlockPos.x, a_BlockPos.y, a_BlockPos.z, E_BLOCK_STONE, 0 ); - } + //if( m_World->GetBlock( a_BlockPos ) == E_BLOCK_DIRT ) + //{ + // m_World->FastSetBlock( a_BlockPos.x, a_BlockPos.y, a_BlockPos.z, E_BLOCK_STONE, 0 ); + //} } else { - if( m_World->GetBlock( a_BlockPos ) == E_BLOCK_STONE ) - { - m_World->FastSetBlock( a_BlockPos.x, a_BlockPos.y, a_BlockPos.z, E_BLOCK_DIRT, 0 ); - } + //if( m_World->GetBlock( a_BlockPos ) == E_BLOCK_STONE ) + //{ + // m_World->FastSetBlock( a_BlockPos.x, a_BlockPos.y, a_BlockPos.z, E_BLOCK_DIRT, 0 ); + //} } for( unsigned int i = 0; i < ARRAYCOUNT( Surroundings ); ++i ) -- cgit v1.2.3