changeset 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 3192c1e03970
children 19903deed392
files rogue4/command.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 		}
 	}