monster the foe's presence and location, rather than using ME_EVAL.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8497 c06c8d41-db1a-0410-9941-cceddc491573
LGKOTZ7Q5DUXZZTL5DTQ5PBM37PESD7CIWBJVC6G2DCVWFQVHWTAC
MCGOMSM7KM2RP4F65SOW763QN5AMR22GHE74SHVICRXUYI7YCRQAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
behaviour_event(creation, ME_EVAL);
{ if (mg.foe == MHITNOT) behaviour_event(creation, ME_EVAL); else // Make summoned being aware of foe's presense. behaviour_event(creation, ME_ALERT, mg.foe, menv[mg.foe].pos()); }
{
if (mg.foe == MHITNOT)
else
// Make summoned being aware of foe's presense.
behaviour_event(creation, ME_ALERT, mg.foe,
menv[mg.foe].pos());
}