diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-03 06:15:49 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-03 06:15:49 +0000 |
commit | 55e422bf9dcda3c8515848e84e079da6dc9a9ad9 (patch) | |
tree | 2c157c11685b0eabf6687db8662977228e8e9287 /crawl-ref/source/abyss.cc | |
parent | 372b7c5803a47c4f2aaa246867aeb0c4bbd2abaf (diff) | |
download | crawl-ref-55e422bf9dcda3c8515848e84e079da6dc9a9ad9.tar.gz crawl-ref-55e422bf9dcda3c8515848e84e079da6dc9a9ad9.zip |
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8161 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r-- | crawl-ref/source/abyss.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc index e8a33b2f4d..a3bf7932b8 100644 --- a/crawl-ref/source/abyss.cc +++ b/crawl-ref/source/abyss.cc @@ -669,7 +669,7 @@ static void _initialise_level_corrupt_seeds(int power) static bool _spawn_corrupted_servant_near(const coord_def &pos) { - // Thirty tries for a place + // Thirty tries for a place. for (int i = 0; i < 30; ++i) { const coord_def p( pos.x + random2avg(4, 3) + random2(3), @@ -688,10 +688,11 @@ static bool _spawn_corrupted_servant_near(const coord_def &pos) const beh_type beh = one_chance_in(5 + you.skills[SK_INVOCATIONS] / 4) ? BEH_HOSTILE : BEH_NEUTRAL; - const int mid = create_monster( mgen_data( mons, beh, 5, p ) ); + const int mid = create_monster(mgen_data(mons, beh, 5, 0, p)); return (mid != -1); } + return (false); } |