Don't reset journal index to a lower value (Fixes #4172)

new-script-api
scrawl 7 years ago
parent 4437a72e47
commit 4a7be0ffda

@ -82,7 +82,8 @@ namespace MWDialogue
for (TEntryIter i = mJournal.begin (); i != mJournal.end (); ++i)
if (i->mTopic == id && i->mInfoId == infoId)
{
setJournalIndex(id, index);
if (getJournalIndex(id) < index)
setJournalIndex(id, index);
MWBase::Environment::get().getWindowManager()->messageBox ("#{sJournalEntry}");
return;
}

Loading…
Cancel
Save