mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 15:45:37 +00:00
accessing topic index didn't work
This commit is contained in:
parent
022f0fd5bd
commit
33f8049a36
@ -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…
x
Reference in New Issue
Block a user