doorway without owing the shop, move those items inside shop for bones
dying in a shop while wielding two weapons could cause "Setworn: mask" warning
make score file processing more bullet proof to avoid potential security issue
+towel equipped in weapon, alternate weapon, or quiver slot can be applied
Platform- and/or Interface-Specific Fixes
if(!freehand()) {
You("have no free %s!", body_part(HAND));
return 0;
- } else if (obj->owornmask) {
+ } else if (obj == ublindf) {
You("cannot use it while you're wearing it!");
return 0;
} else if (obj->cursed) {
(old ? "has more" : "now has"));
make_blinded(Blinded + (long)u.ucreamed - old, TRUE);
} else {
- const char *what = (ublindf->otyp == LENSES) ?
- "lenses" : "blindfold";
+ const char *what;
+
+ what = (ublindf->otyp == LENSES) ? "lenses" :
+ (obj->otyp == ublindf->otyp) ? "other towel" :
+ "blindfold";
if (ublindf->cursed) {
You("push your %s %s.", what,
rn2(2) ? "cock-eyed" : "crooked");