]> granicus.if.org Git - nethack/commitdiff
newsgroup bit
authornethack.allison <nethack.allison>
Sun, 16 Nov 2003 03:00:21 +0000 (03:00 +0000)
committernethack.allison <nethack.allison>
Sun, 16 Nov 2003 03:00:21 +0000 (03:00 +0000)
doc/fixes34.3
src/mhitm.c

index a67fbc6910dc4a81ceeb1fa017f13a2323772289..d512ca23c2e5d32a7120c676d8c5e6f983f5f4f4 100644 (file)
@@ -91,6 +91,7 @@ trapped monster repeatedly switched between ranged and hand-to-hand weapon
 silver items such as wands avoided all the silver checks in hmon_hitmon()
 resuming an interrupted 'A' command could cause crash if pending worn item(s)
        were stolen or destroyed
+when you're asleep you shouldn't "notice" monsters that have become undetected
 
 
 Platform- and/or Interface-Specific Fixes
index 3562365eb22e4c765d4844b362f2ea55ea8bb6b7..36b5a12a09c91d1706f09f137a2b59d724e4710e 100644 (file)
@@ -222,8 +222,12 @@ mattackm(magr, mdef)
     if (mdef->mundetected) {
        mdef->mundetected = 0;
        newsym(mdef->mx, mdef->my);
-       if(canseemon(mdef) && !sensemon(mdef))
-           pline("Suddenly, you notice %s.", a_monnam(mdef));
+       if(canseemon(mdef) && !sensemon(mdef)) {
+           if (u.usleep) You("dream of %s.",
+                               (mdef->data->geno & G_UNIQ) ?
+                               mon_nam(mdef) : makeplural(mon_nam(mdef)));
+           else pline("Suddenly, you notice %s.", a_monnam(mdef));
+       }
     }
 
     /* Elves hate orcs. */