1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 20:45:32 +00:00

Merge branch 'dialogue' of https://github.com/zinnschlag/openmw.git into DialogueSystem

This commit is contained in:
gugus 2012-03-18 19:06:52 +01:00
commit 9c85a8c1ce

View file

@ -60,7 +60,12 @@ namespace MWDialogue
int Journal::getJournalIndex (const std::string& id) const
{
return 0;
TQuestContainer::const_iterator iter = mQuests.find (id);
if (iter==mQuests.end())
return 0;
return iter->second.getIndex();
}
Journal::TEntryIter Journal::begin() const