From 88270be66928f3b73b73fc1f3b26a74358089223 Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Wed, 26 Oct 2011 20:52:19 +0000 Subject: Made several recomended changes. Gamemode is now world based. Need to add it to player. git-svn-id: http://mc-server.googlecode.com/svn/trunk@18 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/packets/cPacket.h') diff --git a/source/packets/cPacket.h b/source/packets/cPacket.h index ff4366c7a..304d6b8d3 100644 --- a/source/packets/cPacket.h +++ b/source/packets/cPacket.h @@ -22,8 +22,6 @@ public: virtual bool Send( cSocket & a_Socket) { a_Socket=0; printf("ERROR: Undefined NEW Send function %x\n", m_PacketID ); return false; } virtual cPacket* Clone() const = 0; - static const int GAMEMODE = 1; //0 = Survival, 1 = Creative; - unsigned char m_PacketID; cSocket m_Socket; // Current socket being used protected: -- cgit v1.2.3