From: PatR Date: Tue, 7 Jun 2016 01:13:04 +0000 (-0700) Subject: more multishot X-Git-Tag: NetHack-3.6.1_RC01~694 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a846f811afa9ccae818efb29944125999843df1a;p=nethack more multishot An attempt to simplify handling of missiles which stop at hero's location (either hit or reached end of range) would have resulted in missiles that hit the hero not being put on the map. I had realized this earlier but for some reason didn't get around to dealing with it before the previous commit. --- diff --git a/src/mthrowu.c b/src/mthrowu.c index 7c5f297d7..e0961a1ce 100644 --- a/src/mthrowu.c +++ b/src/mthrowu.c @@ -606,7 +606,7 @@ struct obj *obj; /* missile (or stack providing it) */ } stop_occupation(); if (hitu) { - range = 0; + (void) drop_throw(singleobj, hitu, u.ux, u.uy); break; } }