# HG changeset patch # User John "Elwin" Edwards # Date 1345519819 25200 # Node ID 0fd87c5c5fca81d84ea4c566857413a88d53ee41 # Parent 3192c1e039703dbecf2df11020eb8820c236664b rogue4: fix "You found you found" bug. Both search() and tr_name() printed "you found" when a trap was discovered. It has been removed from search(). diff -r 3192c1e03970 -r 0fd87c5c5fca rogue4/command.c --- a/rogue4/command.c Sun Aug 12 14:45:58 2012 +0000 +++ b/rogue4/command.c Mon Aug 20 20:30:19 2012 -0700 @@ -391,7 +391,7 @@ chat(y, x) = TRAP; *fp |= F_REAL; count = running = FALSE; - msg("%s%s", terse ? "" : "you found ", tr_name(*fp & F_TMASK)); + msg("%s", tr_name(*fp & F_TMASK)); break; } }