summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
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();