mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-30 12:32:36 +00:00
Merge branch 'you_complete_my_sandwiches' into 'master'
Restore dialogue autocompletion in the console See merge request OpenMW/openmw!1718
This commit is contained in:
commit
5728bfeb49
@ -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…
x
Reference in New Issue
Block a user