forked from teamnwah/openmw-tes3coop
Clear choices when dialogue starts
This is usually not needed, because it is not possible to exit dialogue while in a choice. However you can still exit dialogue by loading a different savegame.
This commit is contained in:
parent
220ab86eca
commit
7ab98f0c6f
1 changed files with 2 additions and 0 deletions
|
@ -363,6 +363,8 @@ namespace MWGui
|
|||
mTopicsList->setEnabled(true);
|
||||
setTitle(npcName);
|
||||
|
||||
clearChoices();
|
||||
|
||||
mTopicsList->clear();
|
||||
|
||||
for (std::vector<DialogueText*>::iterator it = mHistoryContents.begin(); it != mHistoryContents.end(); ++it)
|
||||
|
|
Loading…
Reference in a new issue