summaryrefslogtreecommitdiff
path: root/src/net/playerhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-08 22:58:42 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-08 22:58:42 -0600
commit0644076cbb731d1f7a55b66bf6d16a309cccea01 (patch)
treeb51c18e826cf06c5b0a62080e0686920dc26fd35 /src/net/playerhandler.cpp
parent6099a24784843ac2c6eb4036f5c08bba2f9299c3 (diff)
downloadmana-0644076cbb731d1f7a55b66bf6d16a309cccea01.tar.gz
mana-0644076cbb731d1f7a55b66bf6d16a309cccea01.tar.bz2
mana-0644076cbb731d1f7a55b66bf6d16a309cccea01.tar.xz
mana-0644076cbb731d1f7a55b66bf6d16a309cccea01.zip
Forgot the actual storage window
Diffstat (limited to 'src/net/playerhandler.cpp')
-rw-r--r--src/net/playerhandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/playerhandler.cpp b/src/net/playerhandler.cpp
index d99a97a5..4cc29568 100644
--- a/src/net/playerhandler.cpp
+++ b/src/net/playerhandler.cpp
@@ -39,6 +39,7 @@
#include "../gui/ok_dialog.h"
#include "../gui/sell.h"
#include "../gui/skill.h"
+#include "../gui/storagewindow.h"
#include "../gui/viewport.h"
#include "../utils/stringutils.h"
@@ -92,7 +93,8 @@ namespace {
buyDialog->setVisible(false);
sellDialog->setVisible(false);
buySellDialog->setVisible(false);
- current_npc = 0;
+
+ if (storageWindow->isVisible()) storageWindow->close();
}
} deathListener;
}