]> granicus.if.org Git - nethack/commit
lost ball and chain (trunk only)
authornethack.allison <nethack.allison>
Sat, 3 Jun 2006 17:48:22 +0000 (17:48 +0000)
committernethack.allison <nethack.allison>
Sat, 3 Jun 2006 17:48:22 +0000 (17:48 +0000)
commitd046be66bc587e8e2dd905a3f36241a540d9a785
treebbcc2cc4d72da2f841d81913d7946805deb9f183
parentd25ede081997fcfe6bcb6879b7914f76a78bc8bd
lost ball and chain (trunk only)

Saving the game while punished, not carrying the attached ball,
and while swallowed by a purple worm resulted in losing the
ball and chain.

Since the required information was not being written to the
save file at all, I couldn't come up with a clean way to do this
for the branch, and preserve save file format. I could think
of lots of kludgy ways to do it (insert ball and chain into
the hero's inventory prior to saving, and remove it on restore, etc.)
doc/fixes35.0
include/hack.h
include/patchlevel.h
src/restore.c
src/save.c