1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:53:53 +00:00

Don't add persuasion results to the journal

This commit is contained in:
scrawl 2015-12-01 16:16:21 +01:00
parent 2327a41826
commit c912310c52

View file

@ -298,6 +298,8 @@ namespace MWDialogue
MWScript::InterpreterContext interpreterContext(&mActor.getRefData().getLocals(),mActor);
win->addResponse (Interpreter::fixDefinesDialog(info->mResponse, interpreterContext), title);
if (dialogue.mType == ESM::Dialogue::Topic)
{
// Make sure the returned DialInfo is from the Dialogue we supplied. If could also be from the Info refusal group,
// in which case it should not be added to the journal.
for (ESM::Dialogue::InfoContainer::const_iterator iter = dialogue.mInfo.begin();
@ -309,6 +311,7 @@ namespace MWDialogue
break;
}
}
}
executeScript (info->mResultScript);