update a couple of comments

Fix a couple of typos and rephrase 'livelog_mon_nam()' description.
This commit is contained in:
PatR
2023-08-25 11:43:00 -07:00
parent a627e83a81
commit 6ad9eef25d
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -2617,7 +2617,7 @@ lifesaved_monster(struct monst* mtmp)
DISABLE_WARNING_FORMAT_NONLITERAL DISABLE_WARNING_FORMAT_NONLITERAL
/* when a ahape-shifted vampire is killed, it reverts to base form instead /* when a shape-shifted vampire is killed, it reverts to base form instead
of dying; moved into separate routine to unclutter mondead() */ of dying; moved into separate routine to unclutter mondead() */
static boolean static boolean
vamprises(struct monst *mtmp) vamprises(struct monst *mtmp)
@@ -2687,9 +2687,8 @@ vamprises(struct monst *mtmp)
RESTORE_WARNING_FORMAT_NONLITERAL RESTORE_WARNING_FORMAT_NONLITERAL
/* A specific combination of x_monnam flags for livelogging. The livelog /* specific combination of x_monnam flags for livelogging; show what was
* shouldn't show that you killed a hallucinatory monster and not what it actually killed even when unseen or hallucinated to be something else */
* actually is. */
#define livelog_mon_nam(mtmp) \ #define livelog_mon_nam(mtmp) \
x_monnam(mtmp, ARTICLE_THE, (char *) 0, \ x_monnam(mtmp, ARTICLE_THE, (char *) 0, \
(SUPPRESS_IT | SUPPRESS_HALLUCINATION), FALSE) (SUPPRESS_IT | SUPPRESS_HALLUCINATION), FALSE)
+1 -1
View File
@@ -321,7 +321,7 @@ dosit(void)
u.utrap++; u.utrap++;
} }
} else { } else {
/* when flying, "you land" might need some refinement; it aounds /* when flying, "you land" might need some refinement; it sounds
as if you're staying on the ground but you will immediately as if you're staying on the ground but you will immediately
take off again unless you become stuck in a holding trap */ take off again unless you become stuck in a holding trap */
You("%s.", Flying ? "land" : "sit down"); You("%s.", Flying ? "land" : "sit down");