Sunsword kept glowing after monster wielding it died
- <Someone> reported this bug to the mailing list - add a check in relobj(), which should catch all the cases
This commit is contained in:
@@ -22,6 +22,7 @@ discovering a mimic on a closed door location should not unblock the location
|
||||
don't drop corpse when a monster kills another monster on an inaccessible
|
||||
location (i.e. behave like xkilled behaves)
|
||||
half-physical-damage from gas spore explosion should only affect you
|
||||
Sunsword didn't stop glowing when hero killed a monster wielding it
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -543,6 +543,8 @@ boolean is_pet; /* If true, pet should keep wielded/worn items */
|
||||
costly_spot(mtmp->mx, mtmp->my))
|
||||
otmp->no_charge = 1;
|
||||
#endif
|
||||
if (otmp->owornmask & W_WEP)
|
||||
setmnotwielded(mtmp, otmp);
|
||||
otmp->owornmask = 0L;
|
||||
}
|
||||
if (is_pet && cansee(omx, omy) && flags.verbose)
|
||||
|
||||
Reference in New Issue
Block a user