Skip to content

Commit

Permalink
Fix: 'is' vs 'tastes' palatable adjective tags
Browse files Browse the repository at this point in the history
The character used to tag the 'palatable food' adjectives as taking 'is'
or 'tastes' ('...tastes okay' vs '...is fatty') was being discarded
without being processsed/used, so 'tastes' was being used with every
adjective.
  • Loading branch information
entrez authored and copperwater committed Mar 21, 2024
1 parent 83d6fbb commit c9124f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/eat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1992,8 +1992,10 @@ eatcorpse(struct obj *otmp)
"Tokay", "Istringy", "Igamey", "Ifatty", "Itough"
};
int idx = vegetarian(&mons[mnum]) ? 0 : rn2(SIZE(palatable_msgs));
taste = &palatable_msgs[idx][1];
taste = palatable_msgs[idx];
/* use and discard the 'T' or 'I' tag */
use_is = (*taste == 'I');
taste++;
}
else
taste = "terrible";
Expand Down

0 comments on commit c9124f9

Please sign in to comment.