From 8e137f5305572aea2aff612b50a06c8d70237ec6 Mon Sep 17 00:00:00 2001 From: qndel Date: Sun, 7 Aug 2022 12:15:10 +0200 Subject: [PATCH] close help panel while talking to NPCs --- Source/player.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/player.cpp b/Source/player.cpp index 06a0d48fe..97650f5e9 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -22,6 +22,7 @@ #include "engine/random.hpp" #include "engine/world_tile.hpp" #include "gamemenu.h" +#include "help.h" #include "init.h" #include "inv_iterators.hpp" #include "lighting.h" @@ -1521,6 +1522,7 @@ void CheckNewPath(Player &player, bool pmWillBeCalled) break; case ACTION_TALK: if (&player == MyPlayer) { + HelpFlag = false; TalkToTowner(player, player.destParam1); } break;