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
+1 -1
View File
@@ -407,7 +407,7 @@ register struct monst *mtmp;
(void)mongets(mtmp, FLAIL); (void)mongets(mtmp, FLAIL);
break; break;
} }
/* prevent djinnis and mail daemons from leaving objects when /* prevent djinn and mail daemons from leaving objects when
* they vanish * they vanish
*/ */
if (!is_demon(ptr)) break; if (!is_demon(ptr)) break;
+3 -4
View File
@@ -1570,10 +1570,9 @@ struct monst *mtmp;
} }
/* /*
* Free obj from whatever list it is on in preperation of deleting it or * Free obj from whatever list it is on in preparation for deleting it
* moving it elsewhere. This will perform all high-level consequences * or moving it elsewhere; obj->where will end up set to OBJ_FREE.
* involved with removing the item. E.g. if the object is in the hero's * Doesn't handle unwearing of objects in hero's or monsters' inventories.
* inventory and confers heat resistance, the hero will lose it.
* *
* Object positions: * Object positions:
* OBJ_FREE not on any list * OBJ_FREE not on any list