summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-23 17:50:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-23 19:46:21 +0300
commit832f7a39b3c5e29cdd95dc93b7b18d1ecb7e7ff8 (patch)
treefe26f5f3a22dc6502ccce86f5a509c126300500f
parentdbe86f9d3ef6b54f8ab5036897f6b281c8b07ad7 (diff)
downloadplus-832f7a39b3c5e29cdd95dc93b7b18d1ecb7e7ff8.tar.gz
plus-832f7a39b3c5e29cdd95dc93b7b18d1ecb7e7ff8.tar.bz2
plus-832f7a39b3c5e29cdd95dc93b7b18d1ecb7e7ff8.tar.xz
plus-832f7a39b3c5e29cdd95dc93b7b18d1ecb7e7ff8.zip
Remove unused functions startShopping and endShopping from npchandler.
-rw-r--r--src/net/ea/npchandler.cpp8
-rw-r--r--src/net/ea/npchandler.h4
-rw-r--r--src/net/npchandler.h4
3 files changed, 0 insertions, 16 deletions
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index 3014df37e..553209f59 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -42,14 +42,6 @@ NpcHandler::NpcHandler()
mRequestLang = false;
}
-void NpcHandler::startShopping(const int beingId A_UNUSED) const
-{
-}
-
-void NpcHandler::endShopping(const int beingId A_UNUSED) const
-{
-}
-
void NpcHandler::processNpcChoice(Net::MessageIn &msg)
{
npcHandler->getNpc(msg);
diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h
index c43b73592..08c5727f2 100644
--- a/src/net/ea/npchandler.h
+++ b/src/net/ea/npchandler.h
@@ -42,10 +42,6 @@ class NpcHandler notfinal : public Net::NpcHandler
public:
A_DELETE_COPY(NpcHandler)
- void startShopping(const int beingId) const override final;
-
- void endShopping(const int beingId) const override final;
-
static void processNpcChoice(Net::MessageIn &msg);
static void processNpcMessage(Net::MessageIn &msg);
diff --git a/src/net/npchandler.h b/src/net/npchandler.h
index ed93ba409..0ce247065 100644
--- a/src/net/npchandler.h
+++ b/src/net/npchandler.h
@@ -56,8 +56,6 @@ class NpcHandler notfinal
virtual void stringInput(const int npcId,
const std::string &value) const = 0;
- virtual void startShopping(const int beingId) const = 0;
-
virtual void buy(const int beingId) const = 0;
virtual void sell(const int beingId) const = 0;
@@ -69,8 +67,6 @@ class NpcHandler notfinal
virtual void sellItem(const int beingId, const int itemId,
const int amount) const = 0;
- virtual void endShopping(const int beingId) const = 0;
-
virtual void completeProgressBar() const = 0;
virtual void produceMix(const int nameId,