From 202b78fb1dc0c47426d6b5b4340a48c9749395da Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Sun, 1 Apr 2007 04:23:47 +0000 Subject: [PATCH] couple of comments --- src/makemon.c | 2 +- src/mkobj.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/makemon.c b/src/makemon.c index 3cc915f44..f8d416451 100644 --- a/src/makemon.c +++ b/src/makemon.c @@ -407,7 +407,7 @@ register struct monst *mtmp; (void)mongets(mtmp, FLAIL); break; } - /* prevent djinnis and mail daemons from leaving objects when + /* prevent djinn and mail daemons from leaving objects when * they vanish */ if (!is_demon(ptr)) break; diff --git a/src/mkobj.c b/src/mkobj.c index 647222b96..511de4073 100644 --- a/src/mkobj.c +++ b/src/mkobj.c @@ -1570,10 +1570,9 @@ struct monst *mtmp; } /* - * Free obj from whatever list it is on in preperation of deleting it or - * moving it elsewhere. This will perform all high-level consequences - * involved with removing the item. E.g. if the object is in the hero's - * inventory and confers heat resistance, the hero will lose it. + * Free obj from whatever list it is on in preparation for deleting it + * or moving it elsewhere; obj->where will end up set to OBJ_FREE. + * Doesn't handle unwearing of objects in hero's or monsters' inventories. * * Object positions: * OBJ_FREE not on any list