From 6a7d3f9343f29bd9b46f3bbac917aa190b42b14d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 1 May 2009 14:35:41 -0600 Subject: Merge the NPC dialogs into one Also add support for the new TMWServ NPC packets --- src/net/tmwserv/playerhandler.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/net/tmwserv/playerhandler.cpp') diff --git a/src/net/tmwserv/playerhandler.cpp b/src/net/tmwserv/playerhandler.cpp index e2b5cec4..c7769ede 100644 --- a/src/net/tmwserv/playerhandler.cpp +++ b/src/net/tmwserv/playerhandler.cpp @@ -40,8 +40,6 @@ #include "gui/buy.h" #include "gui/chat.h" #include "gui/gui.h" -#include "gui/npclistdialog.h" -#include "gui/npctextdialog.h" #include "gui/okdialog.h" #include "gui/sell.h" #include "gui/skill.h" @@ -51,8 +49,6 @@ OkDialog *weightNotice = NULL; OkDialog *deathNotice = NULL; -extern NpcListDialog *npcListDialog; -extern NpcTextDialog *npcTextDialog; extern BuyDialog *buyDialog; extern SellDialog *sellDialog; extern Window *buySellDialog; @@ -87,8 +83,6 @@ namespace { { player_node->revive(); deathNotice = NULL; - npcListDialog->setVisible(false); - npcTextDialog->setVisible(false); buyDialog->setVisible(false); sellDialog->setVisible(false); current_npc = 0; -- cgit v1.2.3-70-g09d2