mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:53:53 +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
|
||||
updateTopics();
|
||||
updateGlobals();
|
||||
|
||||
//greeting
|
||||
const MWWorld::Store<ESM::Dialogue> &dialogs =
|
||||
|
@ -392,6 +391,8 @@ namespace MWDialogue
|
|||
win->setKeywords(keywordList);
|
||||
|
||||
mChoice = choice;
|
||||
|
||||
updateGlobals();
|
||||
}
|
||||
|
||||
void DialogueManager::keywordSelected (const std::string& keyword)
|
||||
|
|
Loading…
Reference in a new issue