summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2014-02-12 19:32:20 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-03-06 08:00:41 +0000
commit49e238f2a21cc04e99c3c945041b9d7e274b07b4 (patch)
treefb9c8db4f2a8feab049df88e63cdc404d2a5cf61 /crawl-ref/source/misc.cc
parent12b0153de6c791cdc964519012ee819591b7a6f8 (diff)
downloadcrawl-ref-49e238f2a21cc04e99c3c945041b9d7e274b07b4.tar.gz
crawl-ref-49e238f2a21cc04e99c3c945041b9d7e274b07b4.zip
Don't generate racial armour
[It had much the same problems as racial weapons, with only very slightly more significant effects. Some of the old effects of racial armour could potentially be rethought and made into a new armour ego. Beogh still gives a (slightly smaller than before) bonus for armour use, without the orcish requirement. -MarvinPA]
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index bb013675bf..4a5e225975 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -111,8 +111,7 @@ static void _create_monster_hide(const item_def corpse)
die("an unknown hide drop");
}
- int o = items(0, OBJ_ARMOUR, type, true, 0, MAKE_ITEM_NO_RACE, 0, 0, -1,
- true);
+ int o = items(0, OBJ_ARMOUR, type, true, 0, 0, 0, 0, -1, true);
if (o == NON_ITEM)
return;
item_def& item = mitm[o];