mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 19:45:40 +00:00
Restore dialogue autocompletion in the console
This commit is contained in:
parent
2325b16f8f
commit
d7d1a85143
2 changed files with 9 additions and 0 deletions
|
@ -1072,6 +1072,13 @@ namespace MWWorld
|
|||
return true;
|
||||
}
|
||||
|
||||
void Store<ESM::Dialogue>::listIdentifier(std::vector<std::string>& list) const
|
||||
{
|
||||
list.reserve(list.size() + getSize());
|
||||
for (const auto& dialogue : mShared)
|
||||
list.push_back(dialogue->mId);
|
||||
}
|
||||
|
||||
const MWDialogue::KeywordSearch<std::string, int>& Store<ESM::Dialogue>::getDialogIdKeywordSearch() const
|
||||
{
|
||||
if (mKeywordSearchModFlag)
|
||||
|
|
|
@ -474,6 +474,8 @@ namespace MWWorld
|
|||
|
||||
RecordId load(ESM::ESMReader &esm) override;
|
||||
|
||||
void listIdentifier(std::vector<std::string> &list) const override;
|
||||
|
||||
const MWDialogue::KeywordSearch<std::string, int>& getDialogIdKeywordSearch() const;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue