summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
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/being/being.cpp
parent2c273a20b2cd3e1628840f2d87df16f0cce9ad33 (diff)
downloadplus-24902ba328260cb496c62e236a644ebb990e3fd4.tar.gz
plus-24902ba328260cb496c62e236a644ebb990e3fd4.tar.bz2
plus-24902ba328260cb496c62e236a644ebb990e3fd4.tar.xz
plus-24902ba328260cb496c62e236a644ebb990e3fd4.zip
Store interacted npc type before buy or talk and send it to buy dialog.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 817fcca70..9a86c26cb 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3517,7 +3517,7 @@ void Being::talkTo() const restrict2
return;
}
- npcHandler->talk(mId);
+ npcHandler->talk(this);
}
void Being::drawPlayer(Graphics *restrict const graphics,