1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

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

This commit is contained in:
scrawl 2017-10-24 20:02:35 +00:00
parent 4437a72e47
commit 4a7be0ffda

View File

@ -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;
}