From: nhmall Date: Tue, 15 Jun 2021 20:30:07 +0000 (-0400) Subject: fixes37.0 entry update X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe4822829cb1dc71897ee9888227256103204fe7;p=nethack fixes37.0 entry update --- diff --git a/doc/fixes37.0 b/doc/fixes37.0 index 3bb4ba3bf..a17c28c47 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -713,7 +713,7 @@ enlightenment/disclosure when wielding two weapons with two-weap skill higher than secondary weapon's skill had "with" duplicated in the feedback corpse of monster with gender specific names (king vs queen and so forth) was always described by the neutral name (ruler and such) -prevent obj_pmname() from calling mon_pmname(&monst) when monst->data is null +prevent obj_pmname() from calling mon_pmname(monst) when monst->data is null to prevent a null pointer dereference curses: 'msg_window' option wasn't functional for curses unless the binary diff --git a/src/do_name.c b/src/do_name.c index 4ffc9b266..d84dcef10 100644 --- a/src/do_name.c +++ b/src/do_name.c @@ -2110,7 +2110,7 @@ obj_pmname(struct obj *obj) return pmname(&mons[obj->corpsenm], mgend); } - return ""; + return "two-legged glorkum-seeker"; } /* fake monsters used to be in a hard-coded array, now in a data file */