1
0
Fork 0
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:
scrawl 2014-05-09 19:19:21 +02:00
parent 731bc9c275
commit 872d9be1b4

View file

@ -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)