]> granicus.if.org Git - nethack/commit
fix #H4028 - ':' sometimes doesn't work
authorPatR <rankin@nethack.org>
Tue, 19 Jan 2016 15:13:18 +0000 (07:13 -0800)
committerPatR <rankin@nethack.org>
Tue, 19 Jan 2016 15:13:18 +0000 (07:13 -0800)
commit0544b998deafd6b2a1401a38e9c1536c624f8829
treeeef95965e6e3a93be155c892604aa4ef5c0400c3
parentea35773192691db23833333eb756f22c136a0ddf
fix #H4028 - ':' sometimes doesn't work

User had
MSGTTYPE=norep "You see here"
and complained that once the message had been given while walking
over an object, using ':' to intentionally look at something would
end up doing nothing if its feedback was a repeat of "You see here".

Trying to classify which actions should deliberately override
no-repeat (or no-show) will be an ordeal.  This fixes the case for
the ':' command where the user obviously expects feedback.  I think
it could be done better but am settling for something quick and easy.
doc/fixes36.1
include/flag.h
src/invent.c
src/pline.c