Only display "new journal entry" message in dialogue if there *is* a new entry

0.6.3
Capostrophic 7 years ago committed by GitHub
parent 9b8c56761b
commit 99360e132f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,8 +83,10 @@ namespace MWDialogue
if (i->mTopic == id && i->mInfoId == infoId)
{
if (getJournalIndex(id) < index)
{
setJournalIndex(id, index);
MWBase::Environment::get().getWindowManager()->messageBox ("#{sJournalEntry}");
MWBase::Environment::get().getWindowManager()->messageBox ("#{sJournalEntry}");
}
return;
}

Loading…
Cancel
Save