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/ea/beinghandler.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/net/ea/beinghandler.cpp') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 65d19040..1f5f79c7 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -35,12 +35,8 @@ #include "npc.h" #include "playerrelations.h" -#include "gui/npctextdialog.h" - #include -extern NpcTextDialog *npcTextDialog; - namespace EAthena { const int EMOTION_TIME = 150; /**< Duration of emotion icon */ @@ -246,9 +242,6 @@ void BeingHandler::handleMessage(MessageIn &msg) // A being should be removed or has died id = msg.readInt32(); - if (id == current_npc) - npcTextDialog->showCloseButton(); - dstBeing = beingManager->findBeing(id); if (!dstBeing) -- cgit v1.2.3-70-g09d2