Skip to content

Commit

Permalink
Cleanup from f927f5d.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Dec 16, 2024
1 parent a5acd81 commit 0373893
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dogmove.c
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ dog_move(
struct obj *obj = (struct obj *) 0;
xint16 otyp;
boolean cursemsg[9], summoned, do_eat = FALSE;
boolean better_with_displacing = FALSE, ranged_only;
boolean better_with_displacing = FALSE;
coordxy nix, niy; /* position mtmp is (considering) moving to */
coordxy nx, ny; /* temporary coordinates */
xint16 cnt, uncursedcnt, chcnt;
Expand Down Expand Up @@ -1134,8 +1134,6 @@ dog_move(
if (!edog && (j = distu(nx, ny)) > 16 && j >= udist)
continue;

ranged_only = FALSE;

if ((info[i] & ALLOW_M) && MON_AT(nx, ny)) {
int mstatus;
struct monst *mtmp2 = m_at(nx, ny);
Expand Down

0 comments on commit 0373893

Please sign in to comment.