forked from teamnwah/openmw-tes3coop
Don't reset journal index to a lower value (Fixes #4172)
This commit is contained in:
parent
4437a72e47
commit
4a7be0ffda
1 changed files with 2 additions and 1 deletions
|
@ -82,6 +82,7 @@ namespace MWDialogue
|
||||||
for (TEntryIter i = mJournal.begin (); i != mJournal.end (); ++i)
|
for (TEntryIter i = mJournal.begin (); i != mJournal.end (); ++i)
|
||||||
if (i->mTopic == id && i->mInfoId == infoId)
|
if (i->mTopic == id && i->mInfoId == infoId)
|
||||||
{
|
{
|
||||||
|
if (getJournalIndex(id) < index)
|
||||||
setJournalIndex(id, index);
|
setJournalIndex(id, index);
|
||||||
MWBase::Environment::get().getWindowManager()->messageBox ("#{sJournalEntry}");
|
MWBase::Environment::get().getWindowManager()->messageBox ("#{sJournalEntry}");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue