fix B16001 handlessness inconsistency
[forwarded from newsgroup] When polymorphed into a handless monster, you can't loot a chest that's on the ground but you can pick it up and then apply it when it's in your inventory.
This commit is contained in:
@@ -1912,6 +1912,13 @@ register int held;
|
||||
menu_on_request;
|
||||
|
||||
emptymsg[0] = '\0';
|
||||
if (nohands(youmonst.data)) {
|
||||
You("have no hands!"); /* not `body_part(HAND)' */
|
||||
return 0;
|
||||
} else if (!freehand()) {
|
||||
You("have no free %s.", body_part(HAND));
|
||||
return 0;
|
||||
}
|
||||
if (obj->olocked) {
|
||||
pline("%s to be locked.", Tobjnam(obj, "seem"));
|
||||
if (held) You("must put it down to unlock.");
|
||||
|
||||
Reference in New Issue
Block a user