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.
deque
scrawl 11 years ago
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…
Cancel
Save