From 8df6afa68f9192321f98942348cbcb757ef7bbdc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 15 Nov 2014 18:47:12 +0300 Subject: eathena: reset request lang flag in npc packets. --- src/net/eathena/npchandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/eathena/npchandler.cpp') 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"); } -- cgit v1.2.3-60-g2f50