diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-01-04 02:20:38 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-01-04 02:20:38 +0000 |
commit | 4eec29ac0f6a9b05562ac0fbe3d4e5d7e82deeac (patch) | |
tree | 0b18ed6970f8fdd6750459e6f9032e444d253580 /src/net/playerhandler.cpp | |
parent | e160ba567bf3d2ae915e67c12c13e213c1a32a62 (diff) | |
download | mana-4eec29ac0f6a9b05562ac0fbe3d4e5d7e82deeac.tar.gz mana-4eec29ac0f6a9b05562ac0fbe3d4e5d7e82deeac.tar.bz2 mana-4eec29ac0f6a9b05562ac0fbe3d4e5d7e82deeac.tar.xz mana-4eec29ac0f6a9b05562ac0fbe3d4e5d7e82deeac.zip |
Merged 0.0 changes from revision 2898 to 2988 to trunk.
Diffstat (limited to 'src/net/playerhandler.cpp')
-rw-r--r-- | src/net/playerhandler.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/net/playerhandler.cpp b/src/net/playerhandler.cpp index 988a9a68..f16037cf 100644 --- a/src/net/playerhandler.cpp +++ b/src/net/playerhandler.cpp @@ -31,14 +31,24 @@ #include "../log.h" #include "../npc.h" +#include "../gui/buy.h" #include "../gui/chat.h" +#include "../gui/npclistdialog.h" +#include "../gui/npc_text.h" #include "../gui/ok_dialog.h" +#include "../gui/sell.h" #include "../gui/skill.h" // TODO Move somewhere else OkDialog *weightNotice = NULL; OkDialog *deathNotice = NULL; +extern NpcListDialog *npcListDialog; +extern NpcTextDialog *npcTextDialog; +extern BuyDialog *buyDialog; +extern SellDialog *sellDialog; +extern Window *buySellDialog; + /** * Listener used for handling the overweigth message. */ @@ -64,6 +74,12 @@ namespace { { player_node->revive(); deathNotice = NULL; + npcListDialog->setVisible(false); + npcTextDialog->setVisible(false); + buyDialog->setVisible(false); + sellDialog->setVisible(false); + buySellDialog->setVisible(false); + current_npc = 0; } } deathListener; } |