mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-01 00:50:15 -04:00
[Client] Fix inability for actors to talk to players caused by 4118b20608b630b8d166d060a34c1234b80e378d
This commit is contained in:
parent
9763f6f9c5
commit
2249450b0e
@ -11,7 +11,15 @@ namespace MWWorld
|
|||||||
|
|
||||||
void ActionTalk::executeImp (const Ptr& actor)
|
void ActionTalk::executeImp (const Ptr& actor)
|
||||||
{
|
{
|
||||||
if (actor == MWMechanics::getPlayer())
|
/*
|
||||||
|
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());
|
MWBase::Environment::get().getWindowManager()->pushGuiMode(MWGui::GM_Dialogue, getTarget());
|
||||||
|
/*
|
||||||
|
End of tes3mp change (major)
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user