another follow-up bit

This commit is contained in:
nhmall
2025-03-17 08:09:00 -04:00
parent ed406dafe7
commit 8c0c33aa1f

View File

@@ -1619,7 +1619,7 @@ throwit(struct obj *obj,
else if (tethered_weapon) /* primary weapon is aklys */
/* range of a tethered_weapon is limited by the
length of the attached cord [implicit aspect of item] */
range = min(range, arw->range);
range = min(range, isqrt(arw->range));
else if (obj == uball && u.utrap && u.utraptype == TT_INFLOOR)
range = 1;