forked from mirror/openmw-tes3mp
Set the TalkedToPc flag for voiced dialogue (Fixes #3346)
This commit is contained in:
parent
2b521b8436
commit
4854d6b093
1 changed files with 2 additions and 1 deletions
|
@ -629,7 +629,8 @@ namespace MWDialogue
|
|||
const MWWorld::ESMStore &store = MWBase::Environment::get().getWorld()->getStore();
|
||||
const ESM::Dialogue *dial = store.get<ESM::Dialogue>().find(topic);
|
||||
|
||||
Filter filter(actor, 0, false);
|
||||
const MWMechanics::CreatureStats& creatureStats = actor.getClass().getCreatureStats(actor);
|
||||
Filter filter(actor, 0, creatureStats.hasTalkedToPlayer());
|
||||
const ESM::DialInfo *info = filter.search(*dial, false);
|
||||
if(info != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue