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:
@@ -94,6 +94,7 @@ resuming an interrupted 'A' command could cause crash if pending worn item(s)
|
||||
resuming interrupted 'A' sometimes ended with "You finished disrobing" twice
|
||||
when you're asleep you shouldn't "notice" monsters that have become undetected
|
||||
must be able to reach floor in order to use stethoscope on corpse or statue
|
||||
fix a few coordinate (y,y) -> (x,y) typos in apply.c, mon.c, and wizard.c
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user