]> granicus.if.org Git - nethack/commit
B04002 fix for misplaced pet loyalty
authornethack.allison <nethack.allison>
Sun, 6 Jul 2003 14:13:06 +0000 (14:13 +0000)
committernethack.allison <nethack.allison>
Sun, 6 Jul 2003 14:13:06 +0000 (14:13 +0000)
commit3f7873514e00fa77050ac0fddad804c72fb3ea25
tree529ef3b0b2ffddea4d6397b28489e0fc77f6a16a
parent85c062ce4711c4cb97082faf3fc11225da55b1b2
B04002 fix for misplaced pet loyalty

<Someone> wrote:
>This _must_ be a bug: if a character leaves a pet corpse in a
>bonesfile, someone getting those bones will receive
>"So this is how you repay loyalty?"  should he sacrifice it, even
>though the loyalty wasn't shown to _him_."

Clear the appropriate fields from the attached monst structure
when loading bones.
doc/fixes34.2
src/restore.c