summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/monplace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monplace.h b/crawl-ref/source/monplace.h
index c71f9252f7..b92ae4bd60 100644
--- a/crawl-ref/source/monplace.h
+++ b/crawl-ref/source/monplace.h
@@ -200,7 +200,8 @@ struct mgen_data
flags(monflags), god(which_god), number(monnumber), colour(moncolour),
power(monpower), proximity(prox), level_type(ltype), map_mask(0)
{
- ASSERT(summon_type == 0 || (abj >= 1 && abj <= 6));
+ ASSERT(summon_type == 0 || (abj >= 1 && abj <= 6)
+ || mt == MONS_BALL_LIGHTNING);
}
bool permit_bands() const { return (flags & MG_PERMIT_BANDS); }