mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
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
@ -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…
x
Reference in New Issue
Block a user