looting fix (trunk only)
#tip shares able_to_loot() but doesn't require free hands.
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
/* SCCS Id: @(#)pickup.c 3.4 2003/05/25 */
|
/* SCCS Id: @(#)pickup.c 3.4 2003/07/27 */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -1437,7 +1437,7 @@ boolean looting; /* loot vs tip */
|
|||||||
} else if (nolimbs(youmonst.data)) {
|
} else if (nolimbs(youmonst.data)) {
|
||||||
pline("Without limbs, you cannot %s anything.", verb);
|
pline("Without limbs, you cannot %s anything.", verb);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else if (!freehand()) {
|
} else if (looting && !freehand()) {
|
||||||
pline("Without a free %s, you cannot loot anything.",
|
pline("Without a free %s, you cannot loot anything.",
|
||||||
body_part(HAND));
|
body_part(HAND));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user