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.
This commit is contained in:
PatR
2016-06-06 18:13:04 -07:00
parent 8c0810f687
commit a846f811af

View File

@@ -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;
}
}