forked from mirror/openmw-tes3mp
Revert erroneous changes
This commit is contained in:
parent
dd2a11b243
commit
b274931165
1 changed files with 4 additions and 7 deletions
|
@ -431,11 +431,8 @@ namespace MWDialogue
|
||||||
|
|
||||||
void DialogueManager::addChoice (const std::string& text, int choice)
|
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()
|
const std::vector<std::pair<std::string, int> >& DialogueManager::getChoices()
|
||||||
|
@ -450,8 +447,8 @@ namespace MWDialogue
|
||||||
|
|
||||||
void DialogueManager::goodbye()
|
void DialogueManager::goodbye()
|
||||||
{
|
{
|
||||||
if (!mIsInChoice)
|
mIsInChoice = false;
|
||||||
mGoodbye = true;
|
mGoodbye = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogueManager::persuade(int type, ResponseCallback* callback)
|
void DialogueManager::persuade(int type, ResponseCallback* callback)
|
||||||
|
|
Loading…
Reference in a new issue