Show damage only when any damage is dealt

This commit is contained in:
Pasi Kallinen
2024-03-31 18:51:34 +03:00
parent f71b0caecd
commit 1b0ba3433c

View File

@@ -3971,7 +3971,7 @@ saving_grace(int dmg)
void
showdamage(int dmg)
{
if (!iflags.showdamage)
if (!iflags.showdamage || !dmg)
return;
pline("[HP %i, %i left]", -dmg, Upolyd ? u.mh : u.uhp);