bring a couple of comments up to date

This commit is contained in:
nhmall
2023-11-10 13:17:09 -05:00
parent c44906b28e
commit f97ff175de
2 changed files with 4 additions and 3 deletions

View File

@@ -5981,8 +5981,9 @@ makewish(void)
}
/*
* Note: if they wished for and got a non-object successfully,
* otmp == &zeroobj. That includes an artifact which has been denied.
* Wishing for "nothing" requires a separate value to remain distinct.
* otmp == &gi.invalid_obj. That includes an artifact which has been
* denied. Wishing for "nothing" requires a separate value to remain
* distinct.
*/
strcpy(bufcpy, buf);
otmp = readobjnam(buf, &nothing);