summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/database.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/database.cc')
-rw-r--r--crawl-ref/source/database.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/crawl-ref/source/database.cc b/crawl-ref/source/database.cc
index a700e4d825..50c3ca4c7a 100644
--- a/crawl-ref/source/database.cc
+++ b/crawl-ref/source/database.cc
@@ -66,6 +66,7 @@ static TextDB AllDBs[] =
"descript/gods.txt",
"descript/branches.txt",
"descript/skills.txt",
+ "descript/ability.txt",
NULL),
TextDB( "db/randart",
@@ -89,13 +90,13 @@ static TextDB AllDBs[] =
"database/insult.txt", // imp/demon taunts, again
NULL),
- TextDB( "db/help",
- "database/help.txt",
- NULL),
-
TextDB( "db/misc",
"database/miscname.txt", // names for miscellaneous things
NULL),
+
+ TextDB( "db/help", // database for outsourced help texts
+ "database/help.txt",
+ NULL),
};
static TextDB& DescriptionDB = AllDBs[0];
@@ -309,7 +310,7 @@ static void _execute_embedded_lua(std::string &str)
str.replace(pos, lua_full.length(), result);
pos = str.find("{{", pos + result.length());
- } // while (pos != std::string::npos)
+ }
}
static void _trim_leading_newlines(std::string &s)