Wand of probing reveals tin contents
This commit is contained in:
@@ -566,7 +566,8 @@ probe_objchain(struct obj *otmp)
|
||||
otmp->lknown = 1;
|
||||
if (!SchroedingersBox(otmp))
|
||||
otmp->cknown = 1;
|
||||
}
|
||||
} else if (otmp->otyp == TIN)
|
||||
otmp->known = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2163,7 +2164,8 @@ bhito(struct obj *obj, struct obj *otmp)
|
||||
(void) display_cinventory(obj);
|
||||
}
|
||||
res = 1;
|
||||
}
|
||||
} else if (obj->otyp == TIN)
|
||||
obj->known = 1;
|
||||
if (res)
|
||||
learn_it = TRUE;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user