summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-04 17:59:39 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-04 17:59:39 +0100
commita655d7fdae2984a51445cf6ea81ad0c04d0d5691 (patch)
tree2375e8fa4c4df93aac4aebef5cb3159fd641a657
parentYay tiny commits XD fixed % sign (diff)
downloadcuberite-a655d7fdae2984a51445cf6ea81ad0c04d0d5691.tar
cuberite-a655d7fdae2984a51445cf6ea81ad0c04d0d5691.tar.gz
cuberite-a655d7fdae2984a51445cf6ea81ad0c04d0d5691.tar.bz2
cuberite-a655d7fdae2984a51445cf6ea81ad0c04d0d5691.tar.lz
cuberite-a655d7fdae2984a51445cf6ea81ad0c04d0d5691.tar.xz
cuberite-a655d7fdae2984a51445cf6ea81ad0c04d0d5691.tar.zst
cuberite-a655d7fdae2984a51445cf6ea81ad0c04d0d5691.zip
Diffstat (limited to '')
-rw-r--r--source/cRedstoneSimulator.cpp16
1 files 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 )