class differentiation followup

> Healers pick up on the fact that a wand of undead turning
> revived a creature.
...if a vital piece of code isn't accidentally left out
This commit is contained in:
nethack.allison
2003-10-25 22:37:18 +00:00
parent b4c2f74c22
commit 043a2944ca
2 changed files with 3 additions and 0 deletions

View File

@@ -45,6 +45,8 @@ many instances of physical damage were not taking Half_physical_damage
into account when reducing your hitpoints
make it possible for the code to recognize your starting pet throughout the
game via is_starting_pet(mon) macro
healers notice when a wand of undead turning revives a monster so the
wand is then identified
Platform- and/or Interface-Specific Fixes

View File

@@ -1573,6 +1573,7 @@ struct obj *obj, *otmp;
s_suffix(an(mons[corpsenm].mname)),
nonliving(&mons[corpsenm]) ?
"motility" : "health");
u_noticed = TRUE;
}
if (u_noticed) {
makeknown(otmp->otyp);