From 2fa996eb19e9ef3e5238b8cc694cc64d878b7eb7 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 11 Jan 2024 14:19:28 -0500 Subject: [PATCH] comment update/clarification --- src/dog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dog.c b/src/dog.c index 74ba4a541..7b8170aec 100644 --- a/src/dog.c +++ b/src/dog.c @@ -932,7 +932,8 @@ dogfood(struct monst *mon, struct obj *obj) /* corpsenm might be NON_PM (special tin, unhatachable egg) */ ? obj->corpsenm : NON_PM; - /* mons[NUMMONS] is valid; predicate tests against it will fail */ + /* mons[NUMMONS] is a valid array entry, though not a valid monster; + * predicate tests against it will fail */ fptr = &mons[(ismnum(fx)) ? fx : NUMMONS]; if (obj->otyp == CORPSE && is_rider(fptr))