]> granicus.if.org Git - nethack/commitdiff
message when eating a stalking
authorcohrs <cohrs>
Sat, 17 May 2003 20:51:11 +0000 (20:51 +0000)
committercohrs <cohrs>
Sat, 17 May 2003 20:51:11 +0000 (20:51 +0000)
As suggested by <Someone> to the mailing list, display a message
when you eat a stalker and notice that you became invisible.

doc/fixes34.2
src/eat.c

index 1bc43f4605dde4a022ec2fd7270c92f6fe03b3c8..e4ef9e077780ec5cacdcb59926b97a9731b84582 100644 (file)
@@ -65,6 +65,7 @@ killer reason for named missile could end up with garbage instead of the name
 make killer reason for various poisioning deaths be more consistent
 poison missiles were unintentionally more likely to inflict "deadly poison"
        than in pre-3.4.1 releases
+provide feedback when going invisible after eating a stalker
 
 
 Platform- and/or Interface-Specific Fixes
index 9be3b9f22ead88fc6832d23fbe508b18de2e5d49..2f0afd157b8f0ba946f96991691280628cf91a2d 100644 (file)
--- a/src/eat.c
+++ b/src/eat.c
@@ -820,6 +820,7 @@ register int pm;
            case PM_STALKER:
                if(!Invis) {
                        set_itimeout(&HInvis, (long)rn1(100, 50));
+                       if (!Blind && !BInvis) self_invis_message();
                } else {
                        if (!(HInvis & INTRINSIC)) You_feel("hidden!");
                        HInvis |= FROMOUTSIDE;