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:
parent
dd2a11b243
commit
b274931165
1 changed files with 4 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue