From 24902ba328260cb496c62e236a644ebb990e3fd4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Feb 2017 01:13:14 +0300 Subject: Store interacted npc type before buy or talk and send it to buy dialog. --- src/net/eathena/npchandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/npchandler.h') diff --git a/src/net/eathena/npchandler.h b/src/net/eathena/npchandler.h index 4c758a7a2..d13d0f0cc 100644 --- a/src/net/eathena/npchandler.h +++ b/src/net/eathena/npchandler.h @@ -35,7 +35,7 @@ class NpcHandler final : public Ea::NpcHandler A_DELETE_COPY(NpcHandler) - void talk(const BeingId npcId) const override final; + void talk(const Being *const being) const override final; void nextDialog(const BeingId npcId) const override final; @@ -50,7 +50,7 @@ class NpcHandler final : public Ea::NpcHandler void stringInput(const BeingId npcId, const std::string &value) const override final; - void buy(const BeingId beingId) const override final; + void buy(const Being *const being) const override final; void sell(const BeingId beingId) const override final; -- cgit v1.2.3-60-g2f50