You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The pull request by argrath changes weight_cap() to never return a value less than 1 because try_lift() divides by that return value and a 0 would trigger a crash. The code involved is used when attempting to pull a monster out of a pit via #untrap. I'm fairly sure that weight_cap() can never produce a value that's less than 1 already, but have put in a variation of the PR's fix. I've also implemented a different fix that removes the division from try_lift(). The original code seems to have gone out of its way to avoid calculating inv_weight() twice, but doing the latter (for the once in a hundred games where it might happen) greatly simplifies things by removing details of carrying capacity. Fixes #621
|19 hours ago|
|DEVEL||9 months ago|
|dat||1 week ago|
|doc||19 hours ago|
|include||2 days ago|
|outdated||5 months ago|
|src||19 hours ago|
|submodules||5 months ago|
|sys||3 days ago|
|test||2 months ago|
|util||4 days ago|
|win||5 days ago|
|.clang-format||7 years ago|
|.gitattributes||3 years ago|
|.gitignore||2 months ago|
|.gitmodules||11 months ago|
|Cross-compiling||2 months ago|
|Files||2 months ago|
|Porting||2 months ago|
|README||11 months ago|
|azure-pipelines.yml||5 months ago|
NetHack 3.7.0 work-in-progress -- General information
NetHack 3.7 is an enhancement to the dungeon exploration game NetHack,
which is a distant descendent of Rogue and Hack, and a direct descendent of
NetHack 3.7.0 work-in-progress is not a release of NetHack. As a .0 version,
and still very early in its development cycle, there has already been changes
made, and there will continue to be many more prior to an eventual release.
The file doc/fixes37.0 in the source distribution will be updated with a list
of fixes as they are committed.
In short -- there are likely to be bugs. Don't treat NetHack-3.7 branch as
released code, and if stability is paramount, then the most recent
NetHack 3.6.6 release is safest for you.
We're making the .0 work-in-progress available so that you can observe, test
out, and contribute to its development. Constructive suggestions, GitHub pull
requests, and bug reports are all welcome and encouraged.
The file doc/fixes37.0 in the source distribution has a ful