From 6062002d1753ebf8fab356f34a338cbe2c16c2fe Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Wed, 26 Oct 2011 19:13:49 +0000 Subject: Moved GAMEMODE declaration to a single place... cPacket.h. Player can't take damage any more but can still sometimes die on spawn. Not sure why. Falling through the void does not kill you yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@17 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cClientHandle.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/cClientHandle.h') diff --git a/source/cClientHandle.h b/source/cClientHandle.h index a704ffc0e..224ba46b3 100644 --- a/source/cClientHandle.h +++ b/source/cClientHandle.h @@ -20,7 +20,6 @@ public: ~cClientHandle(); static const int VIEWDISTANCE = 13; - static const int GAMEMODE = 1; //0 = Survival, 1 = Creative; const cSocket & GetSocket(); cPlayer* GetPlayer() { return m_Player; } // tolua_export -- cgit v1.2.3