1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-31 18:02:26 +01:00

Merge pull request #1562 from NeroOneTrueKing/patch-retame-bones-pets

Use untame() to detame bones' pets.
This commit is contained in:
Chris-plus-alphanumericgibberish 2021-06-19 11:25:24 -07:00 committed by GitHub
commit b875109676
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -569,7 +569,7 @@ struct obj *corpse;
resetobjs(mtmp->minvent,FALSE);
/* do not zero out m_ids for bones levels any more */
mtmp->mlstmv = 0L;
if(mtmp->mtame) mtmp->mtame = mtmp->mpeaceful = 0;
if(mtmp->mtame) untame(mtmp, 0);
}
for(ttmp = ftrap; ttmp; ttmp = ttmp->ntrap) {
ttmp->madeby_u = 0;