From 8c6033d18dd49a257b8dc3b505e8ba2d57c37221 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 10 Jan 2010 02:03:14 -0600 Subject: actually place the plants in the place that the wall was removed from --- crawl-ref/source/dungeon.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crawl-ref') 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)); } } } -- cgit v1.2.3-54-g00ecf