diff options
author | Mattes D <github@xoft.cz> | 2016-03-16 10:58:28 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-03-17 19:29:03 +0100 |
commit | af200dfaae63e61bf0bbd237582e3cbbe08baed6 (patch) | |
tree | 10155f63ac6ba948d965853ae20a083f7f49ecba /src/Entities | |
parent | Removed the cPluginLua::cResettable class. (diff) | |
download | cuberite-af200dfaae63e61bf0bbd237582e3cbbe08baed6.tar cuberite-af200dfaae63e61bf0bbd237582e3cbbe08baed6.tar.gz cuberite-af200dfaae63e61bf0bbd237582e3cbbe08baed6.tar.bz2 cuberite-af200dfaae63e61bf0bbd237582e3cbbe08baed6.tar.lz cuberite-af200dfaae63e61bf0bbd237582e3cbbe08baed6.tar.xz cuberite-af200dfaae63e61bf0bbd237582e3cbbe08baed6.tar.zst cuberite-af200dfaae63e61bf0bbd237582e3cbbe08baed6.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Player.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 6d092eeb3..bca9c5547 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -225,11 +225,11 @@ public: cWindow * GetWindow(void) { return m_CurrentWindow; } // tolua_export const cWindow * GetWindow(void) const { return m_CurrentWindow; } - /** Opens the specified window; closes the current one first using CloseWindow() */ - void OpenWindow(cWindow * a_Window); // Exported in ManualBindings.cpp - // tolua_begin + /** Opens the specified window; closes the current one first using CloseWindow() */ + void OpenWindow(cWindow * a_Window); + /** Closes the current window, resets current window to m_InventoryWindow. A plugin may refuse the closing if a_CanRefuse is true */ void CloseWindow(bool a_CanRefuse = true); |