summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 7aee2eaa4c..8c49fd5a9c 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -719,7 +719,8 @@ void game_options::reset_options()
stab_brand = CHATTR_NORMAL;
may_stab_brand = CHATTR_NORMAL;
stair_item_brand = CHATTR_REVERSE;
-
+ trap_item_brand = CHATTR_NORMAL;
+
no_dark_brand = true;
#ifdef WIZARD
@@ -1791,6 +1792,10 @@ void game_options::read_option_line(const std::string &str, bool runscript)
{
stair_item_brand = curses_attribute(field);
}
+ else if (key == "trap_item_brand")
+ {
+ trap_item_brand = curses_attribute(field);
+ }
else if (key == "no_dark_brand")
{
// This is useful for terms where dark grey does