mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
Fix potential issue with dialogue globals
Make sure they are updated throughout the conversation
This commit is contained in:
parent
731bc9c275
commit
872d9be1b4
@ -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…
x
Reference in New Issue
Block a user