1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-30 16:20:21 +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 (...) catch (...)
{ {
MWBase::Environment::get().getJournal()->setJournalIndex(quest, index); if (MWBase::Environment::get().getJournal()->getJournalIndex(quest) < index)
MWBase::Environment::get().getJournal()->setJournalIndex(quest, index);
} }
} }
}; };