mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-03 01:56:39 +00:00
Fix Journal instruction for non-existing journal indices (Fixes #2063)
This commit is contained in:
parent
e604fcf282
commit
aa02974d3b
1 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ namespace MWScript
|
||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
MWBase::Environment::get().getJournal()->setJournalIndex(quest, index);
|
if (MWBase::Environment::get().getJournal()->getJournalIndex(quest) < index)
|
||||||
|
MWBase::Environment::get().getJournal()->setJournalIndex(quest, index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue