1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 12:23:51 +00:00

fix separator

This commit is contained in:
scrawl 2012-11-23 19:21:13 +01:00
parent 1d7e92b6b3
commit f218ef2675

View file

@ -333,9 +333,9 @@ std::string DialogueWindow::parseText(std::string text)
for(unsigned int i = 0;i<mTopicsList->getItemCount();i++)
{
std::string keyWord = mTopicsList->getItemNameAt(i);
if (separatorReached && keyWord != "")
if (separatorReached)
topics.push_back(keyWord);
else
else if (keyWord == "")
separatorReached = true;
}