From: nethack.allison Date: Thu, 3 Oct 2002 00:44:16 +0000 (+0000) Subject: B13001 mild buzz X-Git-Tag: MOVE2GIT~2393 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4430f8f652922def8f8c64578406aba04197bd60;p=nethack B13001 mild buzz feel a mild buzz only if energy or maxenergy increased --- diff --git a/src/eat.c b/src/eat.c index fcf857c85..6ac56f807 100644 --- a/src/eat.c +++ b/src/eat.c @@ -779,13 +779,16 @@ register int pm; case PM_NEWT: /* MRKR: "eye of newt" may give small magical energy boost */ if (rn2(3) || 3 * u.uen <= 2 * u.uenmax) { - You_feel("a mild buzz."); + int old_uen = u.uen; u.uen += rnd(3); if (u.uen > u.uenmax) { if (!rn2(3)) u.uenmax++; u.uen = u.uenmax; } - flags.botl = 1; + if (old_uen != u.uen) { + You_feel("a mild buzz."); + flags.botl = 1; + } } break; case PM_WRAITH: