]> granicus.if.org Git - nethack/commitdiff
fixes37.0 entry update
authornhmall <nhmall@nethack.org>
Tue, 15 Jun 2021 20:30:07 +0000 (16:30 -0400)
committernhmall <nhmall@nethack.org>
Tue, 15 Jun 2021 20:30:07 +0000 (16:30 -0400)
doc/fixes37.0
src/do_name.c

index 3bb4ba3bf564fd1fa28dc697c8f58d0a12f4b784..a17c28c470df4282c335c808d3e92be4653a00bf 100644 (file)
@@ -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
index 4ffc9b26662f0c6fa915db9f2deda56c31104955..d84dcef10ca589be904e23624169c7ac4aa60878 100644 (file)
@@ -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 */