From a846f811afa9ccae818efb29944125999843df1a Mon Sep 17 00:00:00 2001 From: PatR Date: Mon, 6 Jun 2016 18:13:04 -0700 Subject: [PATCH] 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. --- src/mthrowu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }