summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-13 00:43:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-13 00:43:25 +0300
commit9233c3936657f6dc4ca9c73d84ea8c045b3fc09d (patch)
treea7def2f0e6c8fcdaefd6f0f330da7e7eb6c9c0b0 /src/net/ea/playerhandler.cpp
parentd3af59b8eedae98a49367e2ac37f2ab1b79c0557 (diff)
downloadplus-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.tar.gz
plus-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.tar.bz2
plus-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.tar.xz
plus-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.zip
move npc dialogs array from netcode.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 309888d50..c52febaf9 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -30,6 +30,7 @@
#include "gui/ministatuswindow.h"
#include "gui/okdialog.h"
+#include "gui/npcdialog.h"
#include "gui/skilldialog.h"
#include "gui/statuswindow.h"
#include "gui/viewport.h"
@@ -77,9 +78,7 @@ namespace
if (viewport)
viewport->closePopupMenu();
- Net::NpcHandler *const handler = Net::getNpcHandler();
- if (handler)
- handler->clearDialogs();
+ NpcDialog::clearDialogs();
if (player_node)
player_node->respawn();
}