gi.invalid_obj -> hands_obj

This commit is contained in:
nhmall
2023-11-11 19:49:38 -05:00
parent 47bca92e6c
commit 76d328d86a
15 changed files with 40 additions and 34 deletions

View File

@@ -5981,7 +5981,7 @@ makewish(void)
}
/*
* Note: if they wished for and got a non-object successfully,
* otmp == &gi.invalid_obj. That includes an artifact which has been
* otmp == &hands_obj. That includes an artifact which has been
* denied. Wishing for "nothing" requires a separate value to remain
* distinct.
*/
@@ -6000,7 +6000,7 @@ makewish(void)
to retain wishless conduct */
livelog_printf(LL_WISH, "declined to make a wish");
return;
} else if (otmp == &gi.invalid_obj) {
} else if (otmp == &hands_obj) {
/* wizard mode terrain wish: skip livelogging, etc */
return;
}