autodescribe vs DUMPLOG
Keep getpos's autodescribe feedback out of the DUMPLOG message history. Unfortunately it still gets put in interface-specific message history and is liable to fill up the buffer there, forcing actual old messages to be flushed away.
This commit is contained in:
@@ -412,9 +412,10 @@ int cx, cy;
|
|||||||
cc.y = cy;
|
cc.y = cy;
|
||||||
if (do_screen_description(cc, TRUE, sym, tmpbuf, &firstmatch)) {
|
if (do_screen_description(cc, TRUE, sym, tmpbuf, &firstmatch)) {
|
||||||
(void) coord_desc(cx, cy, tmpbuf, iflags.getpos_coords);
|
(void) coord_desc(cx, cy, tmpbuf, iflags.getpos_coords);
|
||||||
pline("%s%s%s%s", firstmatch, *tmpbuf ? " " : "", tmpbuf,
|
custompline(SUPPRESS_HISTORY,
|
||||||
(iflags.getloc_travelmode && !is_valid_travelpt(cx,cy))
|
"%s%s%s%s", firstmatch, *tmpbuf ? " " : "", tmpbuf,
|
||||||
? " (no travel path)" : "");
|
(iflags.getloc_travelmode && !is_valid_travelpt(cx, cy))
|
||||||
|
? " (no travel path)" : "");
|
||||||
curs(WIN_MAP, cx, cy);
|
curs(WIN_MAP, cx, cy);
|
||||||
flush_screen(0);
|
flush_screen(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user