U751 coordinate typos

apply.c:   if (cansee(rx,ry)) newsym(mtmp->my,mtmp->my);
mon.c:         (distu(mtmp->my, mtmp->my) <= 5) ?
wizard.c:        (distu(mtmp->my, mtmp->my) <= 5) ?
This commit is contained in:
nethack.allison
2003-11-23 17:19:33 +00:00
parent d74990926c
commit 7982a95161
4 changed files with 4 additions and 3 deletions

View File

@@ -350,7 +350,7 @@ use_stethoscope(obj)
mstatusline(mtmp);
if (mtmp->mundetected) {
mtmp->mundetected = 0;
if (cansee(rx,ry)) newsym(mtmp->my,mtmp->my);
if (cansee(rx,ry)) newsym(mtmp->mx,mtmp->my);
}
if (!canspotmon(mtmp))
map_invisible(rx,ry);

View File

@@ -871,7 +871,7 @@ mpickstuff(mtmp, str)
#endif
if (cansee(mtmp->mx,mtmp->my) && flags.verbose)
pline("%s picks up %s.", Monnam(mtmp),
(distu(mtmp->my, mtmp->my) <= 5) ?
(distu(mtmp->mx, mtmp->my) <= 5) ?
doname(otmp) : distant_name(otmp, doname));
obj_extract_self(otmp);
/* unblock point after extract, before pickup */

View File

@@ -345,7 +345,7 @@ tactics(mtmp)
if (cansee(mtmp->mx, mtmp->my))
pline("%s picks up %s.",
Monnam(mtmp),
(distu(mtmp->my, mtmp->my) <= 5) ?
(distu(mtmp->mx, mtmp->my) <= 5) ?
doname(otmp) : distant_name(otmp, doname));
obj_extract_self(otmp);
(void) mpickobj(mtmp, otmp);