]> granicus.if.org Git - nethack/commit
github pull request #163 - bag of holding weight
authorPatR <rankin@nethack.org>
Sun, 25 Nov 2018 23:36:54 +0000 (15:36 -0800)
committerPatR <rankin@nethack.org>
Sun, 25 Nov 2018 23:36:54 +0000 (15:36 -0800)
commit436956ac92e963c61a9c0b5f07cf57998e348c54
treebcf81206b1983ddd68e5bc60eda7c2cf00c06a2e
parent5226de8c7407e979f11f42e638297a1828506af1
github pull request #163 - bag of holding weight

Fixes #163
Fixes #153

Encumbrance calculations for taking things out of a bag of holding
where subject to rounding issues due to integer division.  This may
improve things, although I think taking out a partial stack might not
be much better than before.

I simplified the contributed code, then decided that it wasn't an
improvement.  In the process of switching back and forth I may have
introduced bugs which weren't present originally.
src/pickup.c