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.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index cc3e884478..7a83097832 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -7775,7 +7775,10 @@ static void _ruin_level()
/* replace some ruined walls with plants/fungi */
if (one_chance_in(5)) {
- mons_place(mgen_data(coinflip() ? MONS_PLANT : MONS_FUNGUS));
+ mgen_data mg;
+ mg.cls = coinflip() ? MONS_PLANT : MONS_FUNGUS;
+ mg.pos = *it;
+ mons_place(mgen_data(mg));
}
}
}