From 7f105827775e93252f0bfed8e58ee85d9b8e91d1 Mon Sep 17 00:00:00 2001 From: Erik Lunna Date: Mon, 2 Oct 2023 12:52:51 +0200 Subject: [PATCH] Couple parentheses for Hydra stuff. --- src/do_name.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/do_name.c b/src/do_name.c index 68549ed40..44717f30e 100644 --- a/src/do_name.c +++ b/src/do_name.c @@ -1901,9 +1901,9 @@ boolean called; name_at_start = TRUE; } } else if (mdat == &mons[PM_HYDRA] - && mtmp->m_lev - mtmp->data->mlevel > -1) { + && (mtmp->m_lev - mtmp->data->mlevel) > -1) { Sprintf(eos(buf), "%d-headed hydra", - mtmp->m_lev - mtmp->data->mlevel + 2); + (mtmp->m_lev - mtmp->data->mlevel + 2)); name_at_start = FALSE; } else if ((is_mplayer(mdat) || mdat == &mons[PM_RONIN]) && !In_endgame(&u.uz)) {