diff --git a/dat/bogusmon.txt b/dat/bogusmon.txt index 8f88d3f60..a4ac2389d 100644 --- a/dat/bogusmon.txt +++ b/dat/bogusmon.txt @@ -1,4 +1,4 @@ -# NetHack 3.6 bogusmon.txt $NHDT-Date: 1524689579 2018/04/25 20:52:59 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.7 $ +# NetHack 3.6 bogusmon.txt $NHDT-Date: 1574387024 2019/11/22 01:43:44 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.8 $ # Copyright (c) 2016 by Pasi Kallinen # NetHack may be freely redistributed. See license for details. # @@ -189,6 +189,9 @@ Dalek microscopic space fleet Ravenous Bugblatter Beast of Traal +# The Tough Guide to Fantasyland +leathery-winged avian + # TMNT teenage mutant ninja turtle diff --git a/doc/fixes36.3 b/doc/fixes36.3 index 07a97fe56..4f7ec8ea6 100644 --- a/doc/fixes36.3 +++ b/doc/fixes36.3 @@ -1,4 +1,4 @@ -$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.184 $ $NHDT-Date: 1574107001 2019/11/18 19:56:41 $ +$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.187 $ $NHDT-Date: 1574387029 2019/11/22 01:43:49 $ This fixes36.3 file is here to capture information about updates in the 3.6.x lineage following the release of 3.6.2 in May 2019. Please note, however, @@ -291,6 +291,7 @@ Fixes post-beta1 fix several tribute typos pluralization correction for unlikely epoch and loch ensure that --showpaths displays the personal configuration file last +don't strip leading slash from hallucinatory monster name "/b/tard" unix: Fix double DLB definition in linux hints file windows: fix --showpaths output for the data file which relies on being constructed programmatically to incorporate the version suffix diff --git a/src/do_name.c b/src/do_name.c index c8965a706..354850a81 100644 --- a/src/do_name.c +++ b/src/do_name.c @@ -1,4 +1,4 @@ -/* NetHack 3.6 do_name.c $NHDT-Date: 1573940540 2019/11/16 21:42:20 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.150 $ */ +/* NetHack 3.6 do_name.c $NHDT-Date: 1574387027 2019/11/22 01:43:47 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.151 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /*-Copyright (c) Pasi Kallinen, 2018. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1738,8 +1738,8 @@ boolean called; Strcat(buf, "saddled "); has_adjectives = (buf[0] != '\0'); - /* Put the actual monster name or type into the buffer now */ - /* Be sure to remember whether the buffer starts with a name */ + /* Put the actual monster name or type into the buffer now. + Remember whether the buffer starts with a personal name. */ if (do_hallu) { char rnamecode; char *rname = rndmonnam(&rnamecode); @@ -2019,11 +2019,12 @@ STATIC_OVL char * bogusmon(buf, code) char *buf, *code; { + static const char bogon_codes[] = "-_+|="; /* see dat/bonusmon.txt */ char *mname = buf; get_rnd_text(BOGUSMONFILE, buf, rn2_on_display_rng); /* strip prefix if present */ - if (!letter(*mname)) { + if (index(bogon_codes, *mname)) { if (code) *code = *mname; ++mname;