summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-15 18:47:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 18:47:12 +0300
commit8df6afa68f9192321f98942348cbcb757ef7bbdc (patch)
tree34798fd4cd61f1d8e29e8c313dd48d523570dc48 /src/net/eathena/npchandler.cpp
parentd08bd96a8358ad9e399e9f7770d5265c81ff0b4e (diff)
downloadmanaverse-8df6afa68f9192321f98942348cbcb757ef7bbdc.tar.gz
manaverse-8df6afa68f9192321f98942348cbcb757ef7bbdc.tar.bz2
manaverse-8df6afa68f9192321f98942348cbcb757ef7bbdc.tar.xz
manaverse-8df6afa68f9192321f98942348cbcb757ef7bbdc.zip
eathena: reset request lang flag in npc packets.
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r--src/net/eathena/npchandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index 1dd6f1906..0d1e8f4f8 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -311,12 +311,14 @@ int NpcHandler::getNpc(Net::MessageIn &msg)
void NpcHandler::processNpcCutin(Net::MessageIn &msg)
{
+ mRequestLang = false;
msg.readString(64, "image name");
msg.readUInt8("type");
}
void NpcHandler::processNpcViewPoint(Net::MessageIn &msg)
{
+ mRequestLang = false;
// +++ probably need add nav point and start moving to it
msg.readInt32("npc id");
msg.readInt32("type"); // 0 display for 15 sec,
@@ -330,6 +332,7 @@ void NpcHandler::processNpcViewPoint(Net::MessageIn &msg)
void NpcHandler::processNpcShowProgressBar(Net::MessageIn &msg)
{
+ mRequestLang = false;
// +++ probably need show progress bar in npc dialog
msg.readInt32("color");
msg.readInt32("seconds");
@@ -337,6 +340,7 @@ void NpcHandler::processNpcShowProgressBar(Net::MessageIn &msg)
void NpcHandler::processNpcCloseTimeout(Net::MessageIn &msg)
{
+ mRequestLang = false;
// this packet send after npc closed by timeout.
msg.readInt32("npc id");
}