PDA

View Full Version : 3 bugfixes for r988.


Irashtar
September 2, 2008, 12:06
In tvalsval.h:
Setting SV_MAX_GOLD to 11 fixes Ticket #610/#626.
in the prior revisions, SV_MAX_GOLD was not equal to SV_ADAMANTITE.

In xtra3.c:

{ TMD_AFRAID, S("Terror"), TERM_ORANGE },
should obviously read
{ TMD_TERROR, S("Terror"), TERM_ORANGE },

That not only removes seeing Afraid Terror when hit with fear, it also
stops making fear last past the "You regain your courage." message.

In obj-desc.c:

return strnfmt(buf, max, "%d %s pieces worth of gold", o_ptr->pval,
Is nonsense.

return strnfmt(buf, max, "%d gold pieces worth of %s ", o_ptr->pval,
Is clarity.

The attached patch fixes all three, just need to add to the main trunk.