1
0

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
This commit is contained in:
lapayo94@gmail.com
2011-12-25 14:03:01 +00:00
parent d0a7f9a57d
commit 62737fd163
4 changed files with 32 additions and 8 deletions

View File

@@ -224,9 +224,9 @@ void cWindow::OwnerDestroyed()
m_Owner = 0;
while( m_OpenedBy.size() > 1 )
{
(*m_OpenedBy.begin() )->CloseWindow();
(*m_OpenedBy.begin() )->CloseWindow((char)GetWindowType());
}
(*m_OpenedBy.begin() )->CloseWindow();
(*m_OpenedBy.begin() )->CloseWindow((char)GetWindowType());
}
void cWindow::Destroy()