NetHack Patch Database v0.27

323 patches

Long worm crash bug fix

NameLong worm crash bug fix 1.0
RatingNot rated
AuthorPatric Mueller
ForNetHack 3.4.3
DescriptionFixes the crash when cutting a long worm in half
 This patch fixes bug C343-324 "Cutting a long worm in two will crash the game if the cut takes the worm to 1 HP or if long worms had become extinct."

The crash occurred when clone_mon() in makemon.c doesn't return a new monster because of extinction or low hp. The original code didn't check for this possibility.
DownloadGet it from us (1.4 Kb)
AddedOctober 26, 2008 16:37
Submit an update to this patch

Add a comment

Name ()required
Rating (0 is worst, 5 is best) 
You can use up to 1024 characters.
Only supported tag is [url]clickable_link[/url].

You will need to answer the following question correctly: What symbol represents a lizard?