1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 22:53:53 +00:00

Revert erroneous changes

This commit is contained in:
Capostrophic 2018-06-08 19:18:53 +03:00 committed by GitHub
parent dd2a11b243
commit b274931165
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -430,13 +430,10 @@ namespace MWDialogue
}
void DialogueManager::addChoice (const std::string& text, int choice)
{
if (!mGoodbye)
{
mIsInChoice = true;
mChoices.push_back(std::make_pair(text, choice));
}
}
const std::vector<std::pair<std::string, int> >& DialogueManager::getChoices()
{
@ -450,7 +447,7 @@ namespace MWDialogue
void DialogueManager::goodbye()
{
if (!mIsInChoice)
mIsInChoice = false;
mGoodbye = true;
}