From 5cfc73dc5c0093a96c45f604a028ecca21a01af8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Nov 2015 02:03:03 +0300 Subject: Allow sell to npc many items at one time (hercules). --- src/net/tmwa/npchandler.cpp | 4 ++++ src/net/tmwa/npchandler.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 57ad5850f..71b5ce1d2 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -145,6 +145,10 @@ void NpcHandler::sellItem(const BeingId beingId A_UNUSED, outMsg.writeInt16(static_cast(amount), "amount"); } +void NpcHandler::sellItems(std::vector &items A_UNUSED) const +{ +} + void NpcHandler::completeProgressBar() const { } diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index 6eed8e81f..5275feeb4 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -65,6 +65,8 @@ class NpcHandler final : public Ea::NpcHandler const int itemId, const int amount) const override final; + void sellItems(std::vector &items) const override final; + void completeProgressBar() const override final; BeingId getNpc(Net::MessageIn &msg, -- cgit v1.2.3-70-g09d2