more BUCX: union vs intersection
Fix filtering used by the 'D' command, and a few other activities that allow both object class filtering and bless/curse state filtering, so that when both class(es) and state(s) are specified, objects need to match both rather than either. D?C will present the player with cursed scrolls to drop rather than all scrolls plus all other cursed objects. This also fixes another instance when gold could end up with its bknown flag set.
This commit is contained in:
@@ -903,6 +903,9 @@ some monsters can eat through iron bars
|
||||
inaccessible niches occasionally have iron bars in front
|
||||
sinks may teleport or polymorph
|
||||
shopkeepers give honorifics to vampires and elves
|
||||
when commands (D, A, object identify) mix object class filtering with BUCX
|
||||
filtering, take the intersection rather than the union (so ?B picks
|
||||
blessed scrolls rather than all scrolls plus blessed everything)
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user