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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user