summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_Thunderbolt.cpp
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-07 02:41:54 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-07 02:41:54 +0100
commit894f6e02d4aadec58240dc66ad0b8c8f41c5e90a (patch)
tree9c5cd2eef30acf0235f7177ebe764157c45bba48 /source/packets/cPacket_Thunderbolt.cpp
parentRedstone wire now updates correctly when added and removed. it also updates all currently programmed redstone items and wire circuits. Also cleaned up the mess I left of the code. (diff)
downloadcuberite-894f6e02d4aadec58240dc66ad0b8c8f41c5e90a.tar
cuberite-894f6e02d4aadec58240dc66ad0b8c8f41c5e90a.tar.gz
cuberite-894f6e02d4aadec58240dc66ad0b8c8f41c5e90a.tar.bz2
cuberite-894f6e02d4aadec58240dc66ad0b8c8f41c5e90a.tar.lz
cuberite-894f6e02d4aadec58240dc66ad0b8c8f41c5e90a.tar.xz
cuberite-894f6e02d4aadec58240dc66ad0b8c8f41c5e90a.tar.zst
cuberite-894f6e02d4aadec58240dc66ad0b8c8f41c5e90a.zip
Diffstat (limited to 'source/packets/cPacket_Thunderbolt.cpp')
-rw-r--r--source/packets/cPacket_Thunderbolt.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/source/packets/cPacket_Thunderbolt.cpp b/source/packets/cPacket_Thunderbolt.cpp
index dd61bc815..48e8f1573 100644
--- a/source/packets/cPacket_Thunderbolt.cpp
+++ b/source/packets/cPacket_Thunderbolt.cpp
@@ -4,17 +4,12 @@ cPacket_Thunderbolt::cPacket_Thunderbolt( const cPacket_Thunderbolt & a_Copy )
{
m_PacketID = E_THUNDERBOLT;
m_UniqueID = 237183; //just a random Ent ID. I don't think this matters at all.
- m_Unknown = true;
+ m_Unknown = true;
m_xLBPos = a_Copy.m_xLBPos;
m_yLBPos = a_Copy.m_yLBPos;
m_zLBPos = a_Copy.m_zLBPos;
-printf("blot-packet %i %i %i\n", m_xLBPos,m_yLBPos,m_zLBPos);
-
-
-
}
-
bool cPacket_Thunderbolt::Send(cSocket & a_Socket)
{
unsigned int TotalSize = c_Size;
@@ -28,11 +23,6 @@ bool cPacket_Thunderbolt::Send(cSocket & a_Socket)
AppendInteger ( m_yLBPos*32, Message, i );
AppendInteger ( m_zLBPos*32, Message, i );
- for( unsigned int iii = 1; iii < TotalSize; ++iii ){
-
- printf("packetdata %i\n", (int)Message[iii]);
- }
-
bool RetVal = !cSocket::IsSocketError( SendData( a_Socket, Message, TotalSize, 0 ) );
delete [] Message;
return RetVal;