summaryrefslogtreecommitdiffstats
path: root/source/cSurvivalInventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cSurvivalInventory.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/source/cSurvivalInventory.cpp b/source/cSurvivalInventory.cpp
index 1618e04ae..59f634ca5 100644
--- a/source/cSurvivalInventory.cpp
+++ b/source/cSurvivalInventory.cpp
@@ -11,20 +11,13 @@
cSurvivalInventory::~cSurvivalInventory()
{
- if( GetWindow() ) GetWindow()->Close( *m_Owner );
- CloseWindow();
+
}
cSurvivalInventory::cSurvivalInventory(cPlayer* a_Owner)
: cInventory(a_Owner)
{
- if( !GetWindow() )
- {
- cWindow* Window = new cWindow( this, false );
- Window->SetSlots( m_Slots, c_NumSlots );
- Window->SetWindowID( 0 );
- OpenWindow( Window );
- }
+
}
void cSurvivalInventory::Clicked( cPacket* a_ClickPacket )