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/being/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being') 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, -- cgit v1.2.3-60-g2f50