a couple of comments

This commit is contained in:
PatR
2024-09-10 23:16:55 -07:00
parent bddc26faf6
commit fe91590d17
2 changed files with 4 additions and 3 deletions

View File

@@ -336,8 +336,9 @@ m_initweap(struct monst *mtmp)
if ((!rn2(20) || is_lord(ptr))
&& sgn(mtmp->isminion ? EMIN(mtmp)->min_align
: ptr->maligntyp) == A_LAWFUL)
otmp = oname(otmp,
artiname(ART_SUNSWORD),
/* [note: this used to have a 50:50 chance for Sunsword or
Demonbane, but Demonbane has been changed into a mace] */
otmp = oname(otmp, artiname(ART_SUNSWORD),
ONAME_RANDOM); /* randomly created */
bless(otmp);
otmp->oerodeproof = TRUE;

View File

@@ -438,7 +438,7 @@ learn(void)
/* might be learning a new spellbook type or spellbook of blank paper;
if so, persistent inventory will get updated */
makeknown((int) booktype);
/* makeknown() calls update inventory when discovering something
/* makeknown() calls update_inventory() when discovering something
new but is a no-op for something that's already known so wouldn't
update persistent inventory to reflect faded book if spellbook of
blank paper happens to already be discovered */