summaryrefslogtreecommitdiff
path: root/src/client.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/client.cpp
parentd3af59b8eedae98a49367e2ac37f2ab1b79c0557 (diff)
downloadmv-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.tar.gz
mv-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.tar.bz2
mv-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.tar.xz
mv-9233c3936657f6dc4ca9c73d84ea8c045b3fc09d.zip
move npc dialogs array from netcode.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index fef51e24f..7b0756623 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1183,7 +1183,7 @@ int Client::gameExec()
resman->cleanOrphans();
Party::clearParties();
Guild::clearGuilds();
- Net::getNpcHandler()->clearDialogs();
+ NpcDialog::clearDialogs();
Net::getGuildHandler()->clear();
Net::getPartyHandler()->clear();
if (chatLogger)
@@ -2752,7 +2752,7 @@ int Client::getFramerate()
void Client::closeDialogs()
{
- Net::getNpcHandler()->clearDialogs();
+ NpcDialog::clearDialogs();
BuyDialog::closeAll();
BuySellDialog::closeAll();
NpcDialog::closeAll();