diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-21 08:23:35 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-21 08:23:35 +0000 |
commit | a36fd3f9f0e5bde3dd9d74e1742cfbd2f045c635 (patch) | |
tree | 162c04f1bb86a4f1bde64d55c69c81ee65b38680 /crawl-ref/source/stuff.cc | |
parent | 02c7a7e290da364ed194a72ccc42240afe19e344 (diff) | |
download | crawl-ref-a36fd3f9f0e5bde3dd9d74e1742cfbd2f045c635.tar.gz crawl-ref-a36fd3f9f0e5bde3dd9d74e1742cfbd2f045c635.zip |
Allow vaults to request use of the acquirement code with "acquire <item_class>" or "acquire:<god> <item_class>" in item specs (due).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10765 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index 89ac13703f..1836db3c75 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -1350,7 +1350,7 @@ unsigned char make_low_colour(unsigned char colour) unsigned char make_high_colour(unsigned char colour) { - if (colour >= 0 && colour <= 7) + if (colour <= 7) return (colour + 8); return (colour); |