]> granicus.if.org Git - nethack/commitdiff
Remember novel titles in bones.
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Wed, 27 May 2015 13:17:17 +0000 (22:17 +0900)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Wed, 27 May 2015 13:17:17 +0000 (22:17 +0900)
src/bones.c

index d2b4655bcb9f10d18faf3628a9b97770b1f4bb3d..b1c9fbdedbf062a7e15f787b1040f4afea8a122f 100644 (file)
@@ -111,6 +111,7 @@ boolean restore;
                discarding player notes attached to statues.] */
             if (has_oname(otmp)
                 && !(otmp->oartifact || otmp->otyp == STATUE
+                     || otmp->otyp == SPE_NOVEL
                      || (otmp->otyp == CORPSE
                          && otmp->corpsenm >= SPECIAL_PM))) {
                 free_oname(otmp);