diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 38e4f5b85..6e3088ecc 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -293,6 +293,7 @@ monster killed in midst of multi-shot volley throwing/shooting might cause can't arm bear traps or land mines on Planes of Air or Water statues that "come to life" when trap activates shouldn't start out sleeping shopkeepers and priests wouldn't step on graves put in their rooms by bones +can't throw if poly'd into form which lacks hands Platform- and/or Interface-Specific Fixes diff --git a/src/dothrow.c b/src/dothrow.c index 47d8ffc2e..c2b0e832f 100644 --- a/src/dothrow.c +++ b/src/dothrow.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)dothrow.c 3.5 2006/12/08 */ +/* SCCS Id: @(#)dothrow.c 3.5 2007/01/10 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -229,6 +229,10 @@ dothrow() if (notake(youmonst.data)) { You("are physically incapable of throwing anything."); return 0; + } else if (nohands(youmonst.data)) { + You_cant("throw without hands."); /* not `body_part(HAND)' */ + return 0; + /*[what about !freehand(), aside from cursed missile launcher?]*/ } if(check_capacity((char *)0)) return(0);