sling, like whip, shouldn't shatter from a blow

This commit is contained in:
cohrs
2002-02-25 02:57:57 +00:00
parent 7f5285b1ee
commit 6db3117830

View File

@@ -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))) {
/*