diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-01-10 02:03:14 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-01-10 02:03:14 -0600 |
commit | 8c6033d18dd49a257b8dc3b505e8ba2d57c37221 (patch) | |
tree | 4453935d4c89d5547ab79fa5c343494cc0640a27 /crawl-ref/source/dungeon.cc | |
parent | 241dd89547a430160f86f81b9e33a3893422a6d0 (diff) | |
download | crawl-ref-8c6033d18dd49a257b8dc3b505e8ba2d57c37221.tar.gz crawl-ref-8c6033d18dd49a257b8dc3b505e8ba2d57c37221.zip |
actually place the plants in the place that the wall was removed from
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 5 |
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)); } } } |