couple of comments

This commit is contained in:
nethack.rankin
2007-04-01 04:23:47 +00:00
parent f368452693
commit 202b78fb1d
2 changed files with 4 additions and 5 deletions

View File

@@ -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;

View File

@@ -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