diff options
Diffstat (limited to 'crawl-ref/source/database.cc')
-rw-r--r-- | crawl-ref/source/database.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/database.cc b/crawl-ref/source/database.cc index c64b6b44a0..a700e4d825 100644 --- a/crawl-ref/source/database.cc +++ b/crawl-ref/source/database.cc @@ -65,6 +65,7 @@ static TextDB AllDBs[] = "descript/spells.txt", "descript/gods.txt", "descript/branches.txt", + "descript/skills.txt", NULL), TextDB( "db/randart", @@ -232,8 +233,8 @@ std::vector<std::string> database_find_keys(DBM *database, { std::string key((const char *)dbKey.dptr, dbKey.dsize); - if (tpat.matches(key) && - key.find("__") == std::string::npos + if (tpat.matches(key) + && key.find("__") == std::string::npos && (filter == NULL || !(*filter)(key, ""))) { matches.push_back(key); |