message when eating a stalking

As suggested by <Someone> to the mailing list, display a message
when you eat a stalker and notice that you became invisible.
This commit is contained in:
cohrs
2003-05-17 20:51:11 +00:00
parent b8e3cc2b77
commit ddb2f60171
2 changed files with 2 additions and 0 deletions

View 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

View File

@@ -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;