UI: Added shift-click support to most slot areas, except crafting.
Also fixed survival inventory's crafting grid not working. git-svn-id: http://mc-server.googlecode.com/svn/trunk@868 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -64,6 +64,7 @@ cPlayer::cPlayer(cClientHandle* a_Client, const AString & a_PlayerName)
|
||||
|
||||
m_InventoryWindow = new cInventoryWindow(*this);
|
||||
m_CurrentWindow = m_InventoryWindow;
|
||||
m_InventoryWindow->OpenedByPlayer(*this);
|
||||
|
||||
SetMaxHealth(20);
|
||||
m_MaxFoodLevel = 20;
|
||||
@@ -110,6 +111,8 @@ cPlayer::~cPlayer(void)
|
||||
|
||||
m_ClientHandle = NULL;
|
||||
|
||||
delete m_InventoryWindow;
|
||||
|
||||
LOG("Player %p deleted", this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user