Sitelet https://github.com/NetHack/NetHack/pull/1609
Skip to content

Picking up gold pieces can no longer issue a false encumbrance warning. - #1609

Open
SnivyLlama wants to merge 1 commit into
NetHack:NetHack-5.0from
SnivyLlama:fix-gold-pickup
Open

SnivyLlama wants to merge 1 commit into
NetHack:NetHack-5.0from
SnivyLlama:fix-gold-pickup

Conversation

@SnivyLlama

Copy link
Copy Markdown

A discrepancy in how the weight of gold pieces were calculated in pickup.c caused encumbrance warnings to trigger if the hero picked up less than 50 gold pieces while just being under their carrying capacity. Following through with the pickup would not actually encumber the hero, as that uses the weight() function, not the GOLD_WT macro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant