From b205c5b9e6614a2821f2a44dc104306a27ade7ba Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 30 Nov 2014 18:49:42 +0300 Subject: eathena: add packet SMSG_NPC_CHANGETITLE 0x0b06. --- src/net/tmwa/npchandler.cpp | 9 --------- src/net/tmwa/npchandler.h | 2 -- 2 files changed, 11 deletions(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 647642356..6a67dccc1 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -289,13 +289,4 @@ int NpcHandler::getNpc(Net::MessageIn &msg) return npcId; } -void NpcHandler::processChangeTitle(Net::MessageIn &msg) -{ - npcHandler->getNpc(msg); - mRequestLang = false; - const std::string str = msg.readString(-1, "title"); - if (mDialog) - mDialog->setCaption(str); -} - } // namespace TmwAthena diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index f399a98d9..c9a64d73f 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -69,8 +69,6 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler int getNpc(Net::MessageIn &msg) override final; - static void processChangeTitle(Net::MessageIn &msg); - void produceMix(const int nameId, const int materialId1, const int materialId2, -- cgit v1.2.3-70-g09d2