diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | 90ab4c37504bfa1f33246d963d40032b70ed39ac (patch) | |
tree | 5c982f82c404d4ca6a0572eea3864a16709b9850 | |
parent | ad4ca5b13b459048f876589d797fe0dccbdec259 (diff) |
Theme: Remove armor restriction for Eagle/Dragon
It interferes badly with Possession and it seems a little unfair
that (non-Dragon/Eagle) Possessors with a Dragon body *do* get
armor -- albeit usually with penalties.
-rw-r--r-- | src/object1.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/object1.cc b/src/object1.cc index a3cb5593..b0760abe 100644 --- a/src/object1.cc +++ b/src/object1.cc @@ -3644,24 +3644,6 @@ static int get_slot(int slot) */ s16b wield_slot_ideal(object_type const *o_ptr, bool_ ideal) { - /* Theme has restrictions for winged races. */ - if (game_module_idx == MODULE_THEME) - { - cptr race_name = rp_ptr->title; - - if (streq(race_name, "Dragon") || - streq(race_name, "Eagle")) - { - switch (o_ptr->tval) - { - case TV_CLOAK: - case TV_HARD_ARMOR: - case TV_DRAG_ARMOR: - return -1; - } - } - } - /* Slot for equipment */ switch (o_ptr->tval) { |