Use macro for a location next to hero
This commit is contained in:
@@ -728,7 +728,7 @@ dochug(register struct monst* mtmp)
|
||||
if (u.uswallow)
|
||||
return mattacku(mtmp);
|
||||
/* if confused grabber has wandered off, let go */
|
||||
if (distu(mtmp->mx, mtmp->my) > 2)
|
||||
if (!next2u(mtmp->mx, mtmp->my))
|
||||
unstuck(mtmp);
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user