diff --git a/src/eat.c b/src/eat.c index d5969587d..841b2598d 100644 --- a/src/eat.c +++ b/src/eat.c @@ -2719,7 +2719,7 @@ doeat(void) } } - /* from floorfood(), &zeroobj means iron bars at current spot */ + /* from floorfood(), &gi.invalid_obj means iron bars at current spot */ if (otmp == &gi.invalid_obj) { /* hero in metallivore form is eating [diggable] iron bars at current location so skip the other assorted checks; diff --git a/src/zap.c b/src/zap.c index 6c1722b87..d3c4f2923 100644 --- a/src/zap.c +++ b/src/zap.c @@ -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, ¬hing);