From 434fd215848762c0582fdf45bfc3798f99074709 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 28 Jan 2014 20:24:25 +0100 Subject: [PATCH] Don't set journal index if a higher index is currently set This is vanilla behaviour, and required for the Mehra Milo vivec informants quest. --- apps/openmw/mwdialogue/quest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwdialogue/quest.cpp b/apps/openmw/mwdialogue/quest.cpp index 520331bc11..5de5b1cf1a 100644 --- a/apps/openmw/mwdialogue/quest.cpp +++ b/apps/openmw/mwdialogue/quest.cpp @@ -82,7 +82,8 @@ namespace MWDialogue if (index==-1) throw std::runtime_error ("unknown journal entry for topic " + mTopic); - setIndex (index); + if (index > mIndex) + setIndex (index); for (TEntryIter iter (mEntries.begin()); iter!=mEntries.end(); ++iter) if (*iter==entry.mInfoId)