From 744c0187ba3413d29c008f8ff5177f54540bf65b Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Wed, 9 Nov 2011 01:31:19 +0000 Subject: Redstone clocks now work. even one clocks. torches don't update themselves when placed yet, but redstone wire updates the torch. Fixed a bug with piston animations. git-svn-id: http://mc-server.googlecode.com/svn/trunk@80 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cRedstone.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/cRedstone.h') diff --git a/source/cRedstone.h b/source/cRedstone.h index fae353818..92f01f5d9 100644 --- a/source/cRedstone.h +++ b/source/cRedstone.h @@ -24,10 +24,11 @@ static char RepeaterRotationToMetaData( float a_Rotation ) void CalculatetRedstone( int, int, int ); void ChangeRedstone( int, int, int, bool ); - +bool IsBlockPowered( int, int, int ); cWorld* m_World; char m_Metadata; - +char m_Direction; + }; -- cgit v1.2.3