diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-01 19:45:28 +0100 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-01 19:45:28 +0100 |
commit | ac63775297cffb56b05702c0a3c6575f1bcd7d3b (patch) | |
tree | 9a5355be1d74a613a71ca43e2b85d53688eb6de2 /source/cSurvivalInventory.cpp | |
parent | Fixed the numchunks console command. (diff) | |
download | cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.gz cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.bz2 cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.lz cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.xz cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.zst cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.zip |
Diffstat (limited to 'source/cSurvivalInventory.cpp')
-rw-r--r-- | source/cSurvivalInventory.cpp | 11 |
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 )
|