cause the beam to terminate.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8841 c06c8d41-db1a-0410-9941-cceddc491573
2MNSUB3BLBQLTT7JARD2MYYYYQKITFBTSJGJIDYP5ICP6E4FW7QQC
HXS2ZN2XLALAYJBQNDFZ44E6TXILNGDEYBAAN74UIBJCOEL37TKAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
P5ID2SF6YHSZ75EEU4CQ25HCZ74CWU2JQ2FH536KZEKD4DO3M3FQC
UADYVV3UD5ERJTZZJGY4EUQ4NJ2JSBG7YYUJ75ZRBIXRQXQKOJPAC
{ // Trigger the explosion. finish_beam();
{
// Trigger the explosion.
finish_beam();
}
// Trigger explosion on exploding beams. if (is_explosion && !in_explosion_phase) { finish_beam(); return; }
// Trigger explosion on exploding beams.
if (is_explosion && !in_explosion_phase)
return;
// Explosions only have an effect during their explosion phase. // Special cases can be handled here. if (is_explosion && !in_explosion_phase) return;
// Explosions only have an effect during their explosion phase.
// Special cases can be handled here.
if (is_explosion && !in_explosion_phase) { // It hit a monster, so the beam should terminate. // Don't actually affect the monster; the explosion // will take care of that. finish_beam(); return; }
// It hit a monster, so the beam should terminate.
// Don't actually affect the monster; the explosion
// will take care of that.