From 62737fd1632abd232e7e0ff00a19456bb28a4a37 Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Sun, 25 Dec 2011 14:03:01 +0000 Subject: Hold item is now dropped when inventory is closed Thanks to mtilden for this ( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 ) Also the items in the 4 crafting slots are now dropped. git-svn-id: http://mc-server.googlecode.com/svn/trunk@107 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cPlayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cPlayer.h') diff --git a/source/cPlayer.h b/source/cPlayer.h index 195120fcd..c8bd6c473 100644 --- a/source/cPlayer.h +++ b/source/cPlayer.h @@ -46,7 +46,7 @@ public: cWindow* GetWindow() { return m_CurrentWindow; } void OpenWindow( cWindow* a_Window ); - void CloseWindow(); + void CloseWindow(char wID); cClientHandle* GetClientHandle() { return m_ClientHandle; } //tolua_export void SetClientHandle( cClientHandle* a_Client ) { m_ClientHandle = a_Client; } -- cgit v1.2.3