diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-08 17:10:37 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-08 17:18:07 -0600 |
commit | a4be9baa7af0116b50c038d8efa00f216b1b41f9 (patch) | |
tree | 9214ac37095f439fdc8e3be5ab3047f0cdc24dd2 /crawl-ref/source/decks.cc | |
parent | edc0fa1655aade46898e9891e815c87c0e10a05f (diff) | |
download | crawl-ref-a4be9baa7af0116b50c038d8efa00f216b1b41f9.tar.gz crawl-ref-a4be9baa7af0116b50c038d8efa00f216b1b41f9.zip |
Reorder the parameters in mgen_data::hostile_at() to be closer to the
order used in mgen_data(), and allow the former to specify the base
monster, as the latter does.
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r-- | crawl-ref/source/decks.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index f5605b1615..a3e0250f37 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -2374,7 +2374,7 @@ static bool _trowel_card(int power, deck_rarity_type rarity) if (create_monster( mgen_data::hostile_at( RANDOM_ELEMENT(statues), - you.pos(), 0, 0, true)) != -1) + true, 0, 0, you.pos())) != -1) { mpr("A menacing statue appears!"); num_made++; |