]> granicus.if.org Git - nethack/commitdiff
Don't autoquiver aklys
authorPasi Kallinen <paxed@alt.org>
Thu, 6 Jan 2022 12:39:27 +0000 (14:39 +0200)
committerPasi Kallinen <paxed@alt.org>
Thu, 6 Jan 2022 12:39:32 +0000 (14:39 +0200)
... even though it is a throwing weapon, it's meant to be wielded
and fired instead of fired from quiver.

src/dothrow.c

index 763a0a555b690736b8e48d8d3eff6dbf3607deb8..9c3bf149896983002366334d48b177c0eef6de59 100644 (file)
@@ -382,6 +382,8 @@ autoquiver(void)
             /* Ordinary weapon */
             if (objects[otmp->otyp].oc_skill == P_DAGGER && !omissile)
                 omissile = otmp;
+            else if (otmp->otyp == AKLYS)
+                continue;
             else
                 omisc = otmp;
         }