diff options
Diffstat (limited to 'source/packets/cPacket.h')
-rw-r--r-- | source/packets/cPacket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/packets/cPacket.h b/source/packets/cPacket.h index 304d6b8d3..ff4366c7a 100644 --- a/source/packets/cPacket.h +++ b/source/packets/cPacket.h @@ -22,6 +22,8 @@ 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:
|