follow-up cast removal in eat.c

This commit is contained in:
nhmall
2023-11-10 11:28:08 -05:00
parent 314a2a9489
commit 24b6f6a03e

View File

@@ -3507,7 +3507,7 @@ floorfood(
c = yn_function(qbuf, ynqchars, 'n', TRUE);
}
if (c == 'y')
return (struct obj *) &gi.invalid_obj; /* csst away 'const' */
return &gi.invalid_obj;
else if (c == 'q')
return (struct obj *) 0;
++getobj_else;