|
|
|
@ -286,7 +286,7 @@ namespace MWDialogue
|
|
|
|
|
|
|
|
|
|
MWScript::InterpreterContext interpreterContext(&mActor.getRefData().getLocals(),mActor);
|
|
|
|
|
win->addResponse (Interpreter::fixDefinesDialog(info->mResponse, interpreterContext), title);
|
|
|
|
|
MWBase::Environment::get().getJournal()->addTopic (topic, info->mId);
|
|
|
|
|
MWBase::Environment::get().getJournal()->addTopic (topic, info->mId, mActor.getClass().getName(mActor));
|
|
|
|
|
|
|
|
|
|
executeScript (info->mResultScript);
|
|
|
|
|
|
|
|
|
@ -451,7 +451,7 @@ namespace MWDialogue
|
|
|
|
|
|
|
|
|
|
MWScript::InterpreterContext interpreterContext(&mActor.getRefData().getLocals(),mActor);
|
|
|
|
|
MWBase::Environment::get().getWindowManager()->getDialogueWindow()->addResponse (Interpreter::fixDefinesDialog(text, interpreterContext));
|
|
|
|
|
MWBase::Environment::get().getJournal()->addTopic (mLastTopic, info->mId);
|
|
|
|
|
MWBase::Environment::get().getJournal()->addTopic (mLastTopic, info->mId, mActor.getClass().getName(mActor));
|
|
|
|
|
executeScript (info->mResultScript);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|