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

@@ -3880,7 +3880,7 @@ fopen_wizkit_file(void)
static void
wizkit_addinv(struct obj *obj)
{
if (!obj || obj == &gi.invalid_obj)
if (!obj || obj == &hands_obj)
return;
/* subset of starting inventory pre-ID */
@@ -3912,7 +3912,7 @@ proc_wizkit_line(char *buf)
otmp = readobjnam(buf, (struct obj *) 0);
if (otmp) {
if (otmp != &gi.invalid_obj)
if (otmp != &hands_obj)
wizkit_addinv(otmp);
} else {
/* .60 limits output line width to 79 chars */