forked from teamnwah/openmw-tes3coop
accessing topic index didn't work
This commit is contained in:
parent
022f0fd5bd
commit
33f8049a36
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ namespace MWDialogue
|
||||||
iter!=dialogue->mInfo.end(); ++iter)
|
iter!=dialogue->mInfo.end(); ++iter)
|
||||||
if (iter->data.disposition==index) /// \todo cleanup info structure
|
if (iter->data.disposition==index) /// \todo cleanup info structure
|
||||||
{
|
{
|
||||||
iter->id;
|
return iter->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
throw std::runtime_error ("unknown journal index for topic " + topic);
|
throw std::runtime_error ("unknown journal index for topic " + topic);
|
||||||
|
|
Loading…
Reference in a new issue