mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 16:45:32 +00:00
Don't list unnamed quests in the quest book
This commit is contained in:
parent
1fba5d1bb9
commit
ebc67a82cf
1 changed files with 3 additions and 3 deletions
|
@ -206,9 +206,9 @@ struct JournalViewModelImpl : JournalViewModel
|
||||||
|
|
||||||
const MWDialogue::Quest& quest = i->second;
|
const MWDialogue::Quest& quest = i->second;
|
||||||
// Unfortunately Morrowind.esm has no quest names, since the quest book was added with tribunal.
|
// Unfortunately Morrowind.esm has no quest names, since the quest book was added with tribunal.
|
||||||
if (quest.getName().empty())
|
// Note that even with Tribunal, some quests still don't have quest names. I'm assuming those are not supposed
|
||||||
visitor (reinterpret_cast <QuestId> (&i->second), toUtf8Span (i->first));
|
// to appear in the quest book.
|
||||||
else
|
if (!quest.getName().empty())
|
||||||
visitor (reinterpret_cast <QuestId> (&i->second), toUtf8Span (quest.getName()));
|
visitor (reinterpret_cast <QuestId> (&i->second), toUtf8Span (quest.getName()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue