Mercurial > hg > early-roguelike
diff rogue4/command.c @ 74:0fd87c5c5fca
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().
| author | John "Elwin" Edwards <elwin@sdf.org> | 
|---|---|
| date | Mon, 20 Aug 2012 20:30:19 -0700 | 
| parents | 4967c46f1320 | 
| children | f871cb0539d3 | 
line wrap: on
 line diff
--- 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; } }
