From 8c0c33aa1f664491d31ab168811fcce5455e76ad Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 17 Mar 2025 08:09:00 -0400 Subject: [PATCH] another follow-up bit --- src/dothrow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dothrow.c b/src/dothrow.c index 4c4665ef5..dac67ba82 100644 --- a/src/dothrow.c +++ b/src/dothrow.c @@ -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;