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
|
resuming interrupted 'A' sometimes ended with "You finished disrobing" twice
|
||||||
when you're asleep you shouldn't "notice" monsters that have become undetected
|
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
|
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
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+1
-1
@@ -350,7 +350,7 @@ use_stethoscope(obj)
|
|||||||
mstatusline(mtmp);
|
mstatusline(mtmp);
|
||||||
if (mtmp->mundetected) {
|
if (mtmp->mundetected) {
|
||||||
mtmp->mundetected = 0;
|
mtmp->mundetected = 0;
|
||||||
if (cansee(rx,ry)) newsym(mtmp->my,mtmp->my);
|
if (cansee(rx,ry)) newsym(mtmp->mx,mtmp->my);
|
||||||
}
|
}
|
||||||
if (!canspotmon(mtmp))
|
if (!canspotmon(mtmp))
|
||||||
map_invisible(rx,ry);
|
map_invisible(rx,ry);
|
||||||
|
|||||||
@@ -871,7 +871,7 @@ mpickstuff(mtmp, str)
|
|||||||
#endif
|
#endif
|
||||||
if (cansee(mtmp->mx,mtmp->my) && flags.verbose)
|
if (cansee(mtmp->mx,mtmp->my) && flags.verbose)
|
||||||
pline("%s picks up %s.", Monnam(mtmp),
|
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));
|
doname(otmp) : distant_name(otmp, doname));
|
||||||
obj_extract_self(otmp);
|
obj_extract_self(otmp);
|
||||||
/* unblock point after extract, before pickup */
|
/* unblock point after extract, before pickup */
|
||||||
|
|||||||
+1
-1
@@ -345,7 +345,7 @@ tactics(mtmp)
|
|||||||
if (cansee(mtmp->mx, mtmp->my))
|
if (cansee(mtmp->mx, mtmp->my))
|
||||||
pline("%s picks up %s.",
|
pline("%s picks up %s.",
|
||||||
Monnam(mtmp),
|
Monnam(mtmp),
|
||||||
(distu(mtmp->my, mtmp->my) <= 5) ?
|
(distu(mtmp->mx, mtmp->my) <= 5) ?
|
||||||
doname(otmp) : distant_name(otmp, doname));
|
doname(otmp) : distant_name(otmp, doname));
|
||||||
obj_extract_self(otmp);
|
obj_extract_self(otmp);
|
||||||
(void) mpickobj(mtmp, otmp);
|
(void) mpickobj(mtmp, otmp);
|
||||||
|
|||||||
Reference in New Issue
Block a user