From 7cec01748ecc4164622e3d9dff78cf3c2b7a53f7 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 31 Jul 2023 10:16:35 -0400 Subject: [PATCH] Revert "warning after commit 60c19568" This reverts commit d32208562e7e66a59e04e13c8aba82adda207504. --- src/uhitm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uhitm.c b/src/uhitm.c index 57d985e2d..275823853 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -839,8 +839,8 @@ hmon_hitmon_barehands(struct _hitmon_data *hmd, struct monst *mon) compatibility => playability), but when making two hits, only the ring on the hand making the attack is checked. */ spcdmgflg = uarmg ? W_ARMG - : ((hmd->twohits == 0 || hmd->twohits == 1) ? W_RINGR : (0L - | (hmd->twohits == 0 || hmd->twohits == 2)) ? W_RINGL : 0L); + : ((hmd->twohits == 0 || hmd->twohits == 1) ? W_RINGR : 0L + | (hmd->twohits == 0 || hmd->twohits == 2) ? W_RINGL : 0L); hmd->dmg += special_dmgval(&gy.youmonst, mon, spcdmgflg, &silverhit); /* copy silverhit info back into struct _hitmon_data *hmd */