Revert erroneous changes

0.6.3
Capostrophic 7 years ago committed by GitHub
parent dd2a11b243
commit b274931165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -431,11 +431,8 @@ namespace MWDialogue
void DialogueManager::addChoice (const std::string& text, int choice)
{
if (!mGoodbye)
{
mIsInChoice = true;
mChoices.push_back(std::make_pair(text, choice));
}
mIsInChoice = true;
mChoices.push_back(std::make_pair(text, choice));
}
const std::vector<std::pair<std::string, int> >& DialogueManager::getChoices()
@ -450,8 +447,8 @@ namespace MWDialogue
void DialogueManager::goodbye()
{
if (!mIsInChoice)
mGoodbye = true;
mIsInChoice = false;
mGoodbye = true;
}
void DialogueManager::persuade(int type, ResponseCallback* callback)

Loading…
Cancel
Save