Skip to content

Commit

Permalink
Fix satiated check for vampires.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Oct 9, 2023
1 parent 1678117 commit 953cc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attrib.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ exerper()
switch (hs) {
case SATIATED:
/* Don't punish vampires for eating too much */
if (maybe_polyd(!is_vampire(youmonst.data), !Race_if(PM_VAMPIRE)))
if (!maybe_polyd(is_vampire(youmonst.data), Race_if(PM_VAMPIRIC)))
exercise(A_DEX, FALSE);
if (Role_if(PM_MONK))
exercise(A_WIS, FALSE);
Expand Down

0 comments on commit 953cc97

Please sign in to comment.