xorn comment

This commit is contained in:
nethack.allison
2006-05-12 02:27:52 +00:00
parent 6f9da60b95
commit b660a0b079
+2 -1
View File
@@ -1338,7 +1338,8 @@ register struct monst *mtmp;
notseen = (!mtmp->mcansee || (Invis && !perceives(mtmp->data))); notseen = (!mtmp->mcansee || (Invis && !perceives(mtmp->data)));
/* add cases as required. eg. Displacement ... */ /* add cases as required. eg. Displacement ... */
if (notseen || Underwater) { if (notseen || Underwater) {
/* Xorns can smell valuable metal like gold, treat as seen */ /* Xorns can smell quantities of valuable metal
like that in solid gold coins, treat as seen */
if ((mtmp->data == &mons[PM_XORN]) && if ((mtmp->data == &mons[PM_XORN]) &&
#ifndef GOLDOBJ #ifndef GOLDOBJ
u.ugold u.ugold