diff options
-rw-r--r-- | crawl-ref/source/effects.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 875110c604..c27afc653b 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -2449,6 +2449,10 @@ void update_level( double elapsedTime ) if (turns >= 10) mon->timeout_enchantments( turns / 10 ); + // Summoned monsters might have disappeared + if (mon->type == -1) + continue; + // Don't move non-land or stationary monsters around if (mons_habitat( mon->type ) != HT_LAND || mons_is_stationary( mon )) |