eaten by an unseen monster (either invisible or out of line of sight).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2457 c06c8d41-db1a-0410-9941-cceddc491573
K7SLUAS7TC2T6AG5HMZHVMD4ANGAI42FBSZTB6CTHLSGY2CRY4LQC
OSGS3PH2L5CBTDVZCZS6OCFQNA4A7RMEXBYJQB7DDZBYYJW7QSSAC
FSD7GIK3YLZXWLEH37BU6KV3IUCFGXPQL6IZ7H65YWNRBEKDBX5AC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
if (grd(pos) == DNGN_SECRET_DOOR && !see_grid(pos))
bool was_secret = (grd(pos) == DNGN_SECRET_DOOR); if (was_secret && !see_grid(pos))
bool was_secret = (grd(pos) == DNGN_SECRET_DOOR);
if (was_secret && !see_grid(pos))
if (see_grid(pos)) { viewwindow(true, false);
if (see_grid(pos))
{
viewwindow(true, false);
if (was_secret) mpr("The rock wall was actually a secret door!"); if (!you.can_see(monster)) { mpr("Something unseen opens the door."); interrupt_activity(AI_FORCE_INTERRUPT); } }
if (was_secret)
mpr("The rock wall was actually a secret door!");
if (!you.can_see(monster))
mpr("Something unseen opens the door.");
interrupt_activity(AI_FORCE_INTERRUPT);
}
if (see_grid(monster->x + mmov_x, monster->y + mmov_y)) { viewwindow(true, false); if (!you.can_see(monster)) { mpr("The door mysteriously vanishes."); interrupt_activity( AI_FORCE_INTERRUPT ); } }
if (see_grid(monster->x + mmov_x, monster->y + mmov_y))
mpr("The door mysteriously vanishes.");
interrupt_activity( AI_FORCE_INTERRUPT );