mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-06 09:39:49 +00:00
Revert erroneous changes
This commit is contained in:
parent
dd2a11b243
commit
b274931165
@ -430,13 +430,10 @@ namespace MWDialogue
|
|||||||
}
|
}
|
||||||
|
|
||||||
void DialogueManager::addChoice (const std::string& text, int choice)
|
void DialogueManager::addChoice (const std::string& text, int choice)
|
||||||
{
|
|
||||||
if (!mGoodbye)
|
|
||||||
{
|
{
|
||||||
mIsInChoice = true;
|
mIsInChoice = true;
|
||||||
mChoices.push_back(std::make_pair(text, choice));
|
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,7 +447,7 @@ namespace MWDialogue
|
|||||||
|
|
||||||
void DialogueManager::goodbye()
|
void DialogueManager::goodbye()
|
||||||
{
|
{
|
||||||
if (!mIsInChoice)
|
mIsInChoice = false;
|
||||||
mGoodbye = true;
|
mGoodbye = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user