diff options
Diffstat (limited to 'src/object2.cc')
-rw-r--r-- | src/object2.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/object2.cc b/src/object2.cc index 59037ab1..c2808957 100644 --- a/src/object2.cc +++ b/src/object2.cc @@ -1714,9 +1714,6 @@ bool_ object_similar(object_type *o_ptr, object_type *j_ptr) case TV_TRAPKIT: case TV_DAEMON_BOOK: { - /* Require permission */ - if (!stack_allow_items) return (0); - /* Fall through */ } @@ -1822,13 +1819,6 @@ bool_ object_similar(object_type *o_ptr, object_type *j_ptr) /* Hack -- require semi-matching "inscriptions" */ if (o_ptr->note && j_ptr->note && (o_ptr->note != j_ptr->note)) return (0); - /* Hack -- normally require matching "inscriptions" */ - if (!stack_force_notes && (o_ptr->note != j_ptr->note)) return (0); - - /* Hack -- normally require matching "discounts" */ - if (!stack_force_costs && (o_ptr->discount != j_ptr->discount)) return (0); - - /* Maximal "stacking" limit */ if (total >= MAX_STACK_SIZE) return (0); |