1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:53:53 +00:00

Fix Journal instruction for non-existing journal indices (Fixes #2063)

This commit is contained in:
scrawl 2014-10-25 23:40:24 +02:00
parent e604fcf282
commit aa02974d3b

View file

@ -41,7 +41,8 @@ namespace MWScript
}
catch (...)
{
MWBase::Environment::get().getJournal()->setJournalIndex(quest, index);
if (MWBase::Environment::get().getJournal()->getJournalIndex(quest) < index)
MWBase::Environment::get().getJournal()->setJournalIndex(quest, index);
}
}
};