From 7b00d2815765f16b4a5cac8b5d0bf6d13d56acda Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Wed, 26 Oct 2011 18:47:50 +0000 Subject: Creative mode now breaks blocks without providing block drops. Need to work with Player's Inventory for proper creative mode support. GAMEMODE is declared and set twice. git-svn-id: http://mc-server.googlecode.com/svn/trunk@16 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cClientHandle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/cClientHandle.h') diff --git a/source/cClientHandle.h b/source/cClientHandle.h index 224ba46b3..a704ffc0e 100644 --- a/source/cClientHandle.h +++ b/source/cClientHandle.h @@ -20,6 +20,7 @@ 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