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:
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…
Reference in New Issue
Block a user