From bc06d02d2419232d2d330c2729ba23fdb41cbf53 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Mon, 10 Nov 2003 08:09:15 +0000 Subject: [PATCH] deafness fix (trunk only) Evidently the trunk code isn't undergoing much testing lately; "you hear " messages have been broken for a couple of weeks now. --- src/pline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pline.c b/src/pline.c index 6c2af6072..ea863dd7e 100644 --- a/src/pline.c +++ b/src/pline.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)pline.c 3.4 1999/11/28 */ +/* SCCS Id: @(#)pline.c 3.4 2003/11/06 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -174,7 +174,7 @@ void You_hear VA_DECL(const char *,line) char *tmp; - if (Deaf || flags.acoustics) return; + if (Deaf || !flags.acoustics) return; VA_START(line); VA_INIT(line, const char *); if (Underwater) -- 2.40.0