From: cohrs Date: Mon, 25 Feb 2002 02:57:57 +0000 (+0000) Subject: sling, like whip, shouldn't shatter from a blow X-Git-Tag: MOVE2GIT~3118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6db31178301f7d8bccb3d8fc9f3182b74e0b76bf;p=nethack sling, like whip, shouldn't shatter from a blow --- diff --git a/src/uhitm.c b/src/uhitm.c index aae731aa2..528b3baf8 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -576,6 +576,7 @@ int thrown; P_SKILL(wtype) >= P_SKILLED) && ((monwep = MON_WEP(mon)) != 0 && weapon_type(monwep) != P_WHIP && + monwep->otyp != SLING && !obj_resists(monwep, 50 + 15 * greatest_erosion(obj), 100))) { /*