bring a couple of comments up to date
This commit is contained in:
@@ -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) {
|
if (otmp == &gi.invalid_obj) {
|
||||||
/* hero in metallivore form is eating [diggable] iron bars
|
/* hero in metallivore form is eating [diggable] iron bars
|
||||||
at current location so skip the other assorted checks;
|
at current location so skip the other assorted checks;
|
||||||
|
|||||||
@@ -5981,8 +5981,9 @@ makewish(void)
|
|||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Note: if they wished for and got a non-object successfully,
|
* Note: if they wished for and got a non-object successfully,
|
||||||
* otmp == &zeroobj. That includes an artifact which has been denied.
|
* otmp == &gi.invalid_obj. That includes an artifact which has been
|
||||||
* Wishing for "nothing" requires a separate value to remain distinct.
|
* denied. Wishing for "nothing" requires a separate value to remain
|
||||||
|
* distinct.
|
||||||
*/
|
*/
|
||||||
strcpy(bufcpy, buf);
|
strcpy(bufcpy, buf);
|
||||||
otmp = readobjnam(buf, ¬hing);
|
otmp = readobjnam(buf, ¬hing);
|
||||||
|
|||||||
Reference in New Issue
Block a user