diff options
-rw-r--r-- | crawl-ref/source/mon-act.cc | 5 | ||||
-rw-r--r-- | crawl-ref/source/mon-cast.cc | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc index 4e347b9fe8..e0b9dfbe94 100644 --- a/crawl-ref/source/mon-act.cc +++ b/crawl-ref/source/mon-act.cc @@ -1578,10 +1578,13 @@ static void _khufu_drop_tomb(monsters *monster) } } if (count) - if (mons_near(monster)) + { + calc_show_los(); + if (monster->observable()) mpr("The walls disappear!"); else mpr("You hear a deep rumble."); + } monster->number = 0; monster->lose_energy(EUT_SPELL); } diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc index 2c2c0f1517..3464517da8 100644 --- a/crawl-ref/source/mon-cast.cc +++ b/crawl-ref/source/mon-cast.cc @@ -11,6 +11,7 @@ #endif #include "beam.h" +#include "cloud.h" #include "colour.h" #include "database.h" #include "effects.h" @@ -2072,6 +2073,8 @@ void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast, if (grd(*ai) == DNGN_FLOOR || feat_is_trap(grd(*ai))) { grd(*ai) = DNGN_ROCK_WALL; + if (env.cgrid(*ai) != EMPTY_CLOUD) + delete_cloud(env.cgrid(*ai)); sumcount++; } } |