mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-04 21:41:32 +00:00
Fix potential issue with dialogue globals
Make sure they are updated throughout the conversation
This commit is contained in:
parent
731bc9c275
commit
872d9be1b4
1 changed files with 2 additions and 1 deletions
|
@ -144,7 +144,6 @@ namespace MWDialogue
|
||||||
|
|
||||||
//setup the list of topics known by the actor. Topics who are also on the knownTopics list will be added to the GUI
|
//setup the list of topics known by the actor. Topics who are also on the knownTopics list will be added to the GUI
|
||||||
updateTopics();
|
updateTopics();
|
||||||
updateGlobals();
|
|
||||||
|
|
||||||
//greeting
|
//greeting
|
||||||
const MWWorld::Store<ESM::Dialogue> &dialogs =
|
const MWWorld::Store<ESM::Dialogue> &dialogs =
|
||||||
|
@ -392,6 +391,8 @@ namespace MWDialogue
|
||||||
win->setKeywords(keywordList);
|
win->setKeywords(keywordList);
|
||||||
|
|
||||||
mChoice = choice;
|
mChoice = choice;
|
||||||
|
|
||||||
|
updateGlobals();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogueManager::keywordSelected (const std::string& keyword)
|
void DialogueManager::keywordSelected (const std::string& keyword)
|
||||||
|
|
Loading…
Reference in a new issue