mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-16 16:10:58 +00:00
Revert erroneous changes
This commit is contained in:
parent
dd2a11b243
commit
b274931165
@ -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…
Reference in New Issue
Block a user