From 2249450b0efd523f09182087ef296bda581bfc20 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 15 Dec 2019 11:50:15 +0200 Subject: [PATCH] [Client] Fix inability for actors to talk to players caused by 4118b20608b630b8d166d060a34c1234b80e378d --- apps/openmw/mwworld/actiontalk.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwworld/actiontalk.cpp b/apps/openmw/mwworld/actiontalk.cpp index 7fe623b8e..0d0b94435 100644 --- a/apps/openmw/mwworld/actiontalk.cpp +++ b/apps/openmw/mwworld/actiontalk.cpp @@ -11,7 +11,15 @@ namespace MWWorld void ActionTalk::executeImp (const Ptr& actor) { - if (actor == MWMechanics::getPlayer()) - MWBase::Environment::get().getWindowManager()->pushGuiMode(MWGui::GM_Dialogue, getTarget()); + /* + Start of tes3mp change (major) + + We need to be able to make actors start conversations with players, so reverse the check added + by 4118b20608b630b8d166d060a34c1234b80e378d here + */ + MWBase::Environment::get().getWindowManager()->pushGuiMode(MWGui::GM_Dialogue, getTarget()); + /* + End of tes3mp change (major) + */ } }