]> granicus.if.org Git - nethack/commitdiff
class differentiation followup
authornethack.allison <nethack.allison>
Sat, 25 Oct 2003 22:37:18 +0000 (22:37 +0000)
committernethack.allison <nethack.allison>
Sat, 25 Oct 2003 22:37:18 +0000 (22:37 +0000)
> 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

doc/fixes35.0
src/zap.c

index af1ba6b4c7f21968d56d4722dfd7a9fc08b2ad08..2fe8885bc2ded7d761dd14480d9cf286dd8ac8ca 100644 (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
index a7760496a38174b471bfa381d43293dc6d8681dc..e1bcb8995c33f3e451565bc2c8e87da3df809be0 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -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);