for spells that are wrappers around burn_freeze() (e.g. Freeze).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6425 c06c8d41-db1a-0410-9941-cceddc491573
HSHTFTGAWBWARTWJ5QNCCSQBNOODVSQBU4MXFBV3EKGJSQ77QZJAC
3PBVDFJADTAFTTYIQ23R65K2URQGURPCORACTMI3S3LO25JPHZQAC
NQMXQ6OQVUSC7Y7F7IL252QW4A5JED224EECNHWAM4ZZYVNY745AC
RDZUMV3A5TREQHLPPJWDWVXBNIOWC3CQJJ35TYFBQQVQNTU7SPXQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
U63Y7KF5BVZFSYK2SCNJSVBSUHSRSDNBDNPAAKTL7NWKT47Q4QIAC
KATZLWENEIQMKKWIV4ZLXJ5HFUW6SU5K4ZU6NENBOL4XAAVTDUKAC
AUXVWXWIFSTWFA6VZXN2FMG7FQEKRZVV6MD32VQQ7J2RKCXHAVGAC
if (!spd.isValid)
{
canned_msg(MSG_OK);
return (-1);
}
if (spd.isMe)
{
canned_msg(MSG_UNTHINKING_ACT);
return (-1);
}
if (spd.isMe)
{
canned_msg(MSG_UNTHINKING_ACT);
return (-1);
}
mgr = mgrd[you.x_pos + spd.dx][you.y_pos + spd.dy];
// Yes, this is strange, but it does maintain the original
// behaviour. Possibly to avoid giving information about
// invisible monsters?
if (mgr == NON_MONSTER)
{
mpr("There isn't anything close enough!");
return (0);
}
mgr = mgrd[you.x_pos + spd.dx][you.y_pos + spd.dy];
if (trans_wall_blocking(spd.tx, spd.ty))
{
mpr("A translucent wall is in the way.");
return (0);
}
// Yes, this is strange, but it does maintain the original
// behaviour. Possibly to avoid giving information about invisible
// monsters?
if (mgr == NON_MONSTER)
{
mpr("There isn't anything close enough!");
return (0);