deafness fix (trunk only)
Evidently the trunk code isn't undergoing much testing lately; "you hear <blah>" messages have been broken for a couple of weeks now.
This commit is contained in:
@@ -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. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -174,7 +174,7 @@ void
|
|||||||
You_hear VA_DECL(const char *,line)
|
You_hear VA_DECL(const char *,line)
|
||||||
char *tmp;
|
char *tmp;
|
||||||
|
|
||||||
if (Deaf || flags.acoustics) return;
|
if (Deaf || !flags.acoustics) return;
|
||||||
VA_START(line);
|
VA_START(line);
|
||||||
VA_INIT(line, const char *);
|
VA_INIT(line, const char *);
|
||||||
if (Underwater)
|
if (Underwater)
|
||||||
|
|||||||
Reference in New Issue
Block a user