Skip to content

Commit

Permalink
Couple parentheses for Hydra stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Oct 2, 2023
1 parent 07a70ed commit 7f10582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/do_name.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 7f10582

Please sign in to comment.