summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 91842b35c3..eef78183be 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4679,7 +4679,7 @@ int dgn_place_monster(mons_spec &mspec,
const habitat_type habitat = mons_class_primary_habitat(montype);
if (!monster_habitable_grid(montype, grd(where)))
- grd(where) = habitat2grid(habitat);
+ dungeon_terrain_changed(where, habitat2grid(habitat));
}
mgen_data mg(static_cast<monster_type>(mid));