summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-01 01:13:14 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-01 01:13:14 +0300
commit24902ba328260cb496c62e236a644ebb990e3fd4 (patch)
treefd9ee8f2759566f29076eb63689802b40fe13756 /src/net/eathena/npchandler.h
parent2c273a20b2cd3e1628840f2d87df16f0cce9ad33 (diff)
downloadmv-24902ba328260cb496c62e236a644ebb990e3fd4.tar.gz
mv-24902ba328260cb496c62e236a644ebb990e3fd4.tar.bz2
mv-24902ba328260cb496c62e236a644ebb990e3fd4.tar.xz
mv-24902ba328260cb496c62e236a644ebb990e3fd4.zip
Store interacted npc type before buy or talk and send it to buy dialog.
Diffstat (limited to 'src/net/eathena/npchandler.h')
-rw-r--r--src/net/eathena/npchandler.h4
1 files changed, 2 insertions, 2 deletions
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;