FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Picking up gold pieces can no longer issue a false encumbrance warning. by SnivyLlama · Pull Request #1609 · NetHack/NetHack · GitHub

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

Picking up gold pieces can no longer issue a false encumbrance warning.#1609
SnivyLlama wants to merge 1 commit into
NetHack:NetHack-5.0from
SnivyLlama:fix-gold-pickup

Conversation

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.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL