mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-22 04:23:50 +00:00
fix separator
This commit is contained in:
parent
1d7e92b6b3
commit
f218ef2675
1 changed files with 2 additions and 2 deletions
|
@ -333,9 +333,9 @@ std::string DialogueWindow::parseText(std::string text)
|
||||||
for(unsigned int i = 0;i<mTopicsList->getItemCount();i++)
|
for(unsigned int i = 0;i<mTopicsList->getItemCount();i++)
|
||||||
{
|
{
|
||||||
std::string keyWord = mTopicsList->getItemNameAt(i);
|
std::string keyWord = mTopicsList->getItemNameAt(i);
|
||||||
if (separatorReached && keyWord != "")
|
if (separatorReached)
|
||||||
topics.push_back(keyWord);
|
topics.push_back(keyWord);
|
||||||
else
|
else if (keyWord == "")
|
||||||
separatorReached = true;
|
separatorReached = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue