From 6db31178301f7d8bccb3d8fc9f3182b74e0b76bf Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 25 Feb 2002 02:57:57 +0000 Subject: [PATCH] sling, like whip, shouldn't shatter from a blow --- src/uhitm.c | 1 + 1 file changed, 1 insertion(+) 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))) { /*