summaryrefslogtreecommitdiff
path: root/src/net/ea/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-08 21:24:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-08 21:24:02 +0300
commit52865ff4b24e3ea85967e76099b73f2e581a856d (patch)
tree9b3a26f33d7ea69479fe8dcdf1b84de7176edc79 /src/net/ea/npchandler.cpp
parent5d0b4c09a67f279847337aa06bc3066c07f63114 (diff)
downloadplus-52865ff4b24e3ea85967e76099b73f2e581a856d.tar.gz
plus-52865ff4b24e3ea85967e76099b73f2e581a856d.tar.bz2
plus-52865ff4b24e3ea85967e76099b73f2e581a856d.tar.xz
plus-52865ff4b24e3ea85967e76099b73f2e581a856d.zip
Add function for return current npc dialog.
Diffstat (limited to 'src/net/ea/npchandler.cpp')
-rw-r--r--src/net/ea/npchandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index fa6b0de2c..46c20c464 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -35,4 +35,9 @@ NpcHandler::NpcHandler()
NpcRecv::mRequestLang = false;
}
+NpcDialog *NpcHandler::getCurrentNpcDialog() const
+{
+ return NpcRecv::mDialog;
+}
+
} // namespace Ea