Make sure negatively enchanted boomerang hits anything
This commit is contained in:
@@ -4140,7 +4140,7 @@ boomhit(struct obj *obj, int dx, int dy)
|
|||||||
int boom; /* showsym[] index */
|
int boom; /* showsym[] index */
|
||||||
struct monst *mtmp;
|
struct monst *mtmp;
|
||||||
boolean counterclockwise = URIGHTY; /* ULEFTY => clockwise */
|
boolean counterclockwise = URIGHTY; /* ULEFTY => clockwise */
|
||||||
int nhits = (obj->spe + 1);
|
int nhits = max(1, obj->spe + 1);
|
||||||
|
|
||||||
/* counterclockwise traversal patterns, from @ to 1 then on through to 9
|
/* counterclockwise traversal patterns, from @ to 1 then on through to 9
|
||||||
* ..........................54.................................
|
* ..........................54.................................
|
||||||
|
|||||||
Reference in New Issue
Block a user