A bit of cleanup and documentation around the UI window handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@716 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -48,10 +48,9 @@ cInventory::cInventory(cPlayer* a_Owner)
|
||||
|
||||
if( !GetWindow() )
|
||||
{
|
||||
cWindow* Window = new cWindow( this, false );
|
||||
Window->SetSlots( m_Slots, c_NumSlots );
|
||||
Window->SetWindowID( 0 );
|
||||
OpenWindow( Window );
|
||||
cWindow* Window = new cWindow( this, false, cWindow::Inventory, 0);
|
||||
Window->SetSlots(m_Slots, c_NumSlots);
|
||||
OpenWindow(Window);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user