]> granicus.if.org Git - nethack/commit
killer_xname changes (trunk only)
authornethack.rankin <nethack.rankin>
Sat, 10 Dec 2005 05:39:24 +0000 (05:39 +0000)
committernethack.rankin <nethack.rankin>
Sat, 10 Dec 2005 05:39:24 +0000 (05:39 +0000)
commit83b73be40cfc80be174980ba81750c5c45bfcd24
tree82cf78a8f0fc4aff8e49099a23ea0e124633616e
parent54a23af75291c5f754b1edd1a8c8f1084bbd7a65
killer_xname changes (trunk only)

     Have killer_xname() handle corpses properly and also avoid having it
use user-supplied fruit names as per <Someone>'s suggestion.  Also make
a start at eliminating the umpteen inconsitent checks for whether a monster
type (like "Oracle") ought to be prefixed by "the ".

     I used a stub which looped over all object types, all artifacts, and
corpses of all monster types to print the output of killer_xname() for each
one; its prefix choice among {[no article], a, an, the} looked right.
include/extern.h
src/objnam.c