Zapping wand of opening at yourself, unlock carried boxes
This commit is contained in:
@@ -95,6 +95,7 @@ redraw map when hilite_pile is toggled to display the highlighting
|
||||
make commands that accept a count prefix for item selection
|
||||
show "Count:" like command repeating does
|
||||
allow picking a used inventory letter from menu when #adjusting
|
||||
zapping wand of opening at yourself, unlock carried boxes
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -2368,7 +2368,13 @@ boolean ordinary;
|
||||
}
|
||||
if (u.utrap) { /* escape web or bear trap */
|
||||
(void) openholdingtrap(&youmonst, &learn_it);
|
||||
} else { /* trigger previously escaped trapdoor */
|
||||
} else {
|
||||
struct obj *otmp;
|
||||
/* unlock carried boxes */
|
||||
for (otmp = invent; otmp; otmp = otmp->nobj)
|
||||
if (Is_box(otmp))
|
||||
(void) boxlock(otmp, obj);
|
||||
/* trigger previously escaped trapdoor */
|
||||
(void) openfallingtrap(&youmonst, TRUE, &learn_it);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user