1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-06 12:45:25 +01:00

Merge branch 'devel-3.20.1' of https://github.com/Chris-plus-alphanumericgibberish/dNAO.git into devel-3.20.1

This commit is contained in:
ChrisANG 2021-05-27 15:29:11 -04:00
commit 7d3a71c2a6

View file

@ -2523,9 +2523,12 @@ long timeout;
if (otmp == MON_WEP(otmp->ocarry)) MON_NOWEP(otmp->ocarry);
if (otmp == MON_SWEP(otmp->ocarry)) MON_NOSWEP(otmp->ocarry);
}
obj_extract_self(otmp);
newsym(otmp->ox, otmp->oy);
obfree(otmp, (struct obj *)0);
/* if in_use is set, then we know it'll be used up by the thing currently using it, and we'd be double-deleting it */
if (!otmp->in_use) {
obj_extract_self(otmp);
newsym(otmp->ox, otmp->oy);
obfree(otmp, (struct obj *)0);
}
}
void