analyzer lint and stale comment for apply.c
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.7 apply.c $NHDT-Date: 1720128162 2024/07/04 21:22:42 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.449 $ */
|
/* NetHack 3.7 apply.c $NHDT-Date: 1737275719 2025/01/19 00:35:19 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.464 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
@@ -232,8 +232,7 @@ its_dead(coordxy rx, coordxy ry, int *resp)
|
|||||||
/* (most corpses don't retain the monster's sex, so
|
/* (most corpses don't retain the monster's sex, so
|
||||||
we're usually forced to use generic pronoun here) */
|
we're usually forced to use generic pronoun here) */
|
||||||
if (mtmp) {
|
if (mtmp) {
|
||||||
mptr = mtmp->data = &mons[mtmp->mnum];
|
mtmp->data = &mons[mtmp->mnum];
|
||||||
/* TRUE: override visibility check--it's not on the map */
|
|
||||||
gndr = pronoun_gender(mtmp, PRONOUN_NO_IT);
|
gndr = pronoun_gender(mtmp, PRONOUN_NO_IT);
|
||||||
} else {
|
} else {
|
||||||
mptr = &mons[corpse->corpsenm];
|
mptr = &mons[corpse->corpsenm];
|
||||||
|
|||||||
Reference in New Issue
Block a user