mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-21 15:41:33 +00:00
Only display "new journal entry" message in dialogue if there *is* a new entry
This commit is contained in:
parent
9b8c56761b
commit
99360e132f
1 changed files with 3 additions and 1 deletions
|
@ -83,8 +83,10 @@ namespace MWDialogue
|
||||||
if (i->mTopic == id && i->mInfoId == infoId)
|
if (i->mTopic == id && i->mInfoId == infoId)
|
||||||
{
|
{
|
||||||
if (getJournalIndex(id) < index)
|
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