diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-17 20:12:07 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-17 20:12:07 +0000 |
commit | 567d279f099afe79a81f6ec39754703222280c8c (patch) | |
tree | 4d509bf891c376527760934119a19798b4b2fd95 /crawl-ref/source/spells2.cc | |
parent | 54945881c3da9d5610da4e29a62c2ab0c788d60b (diff) | |
download | crawl-ref-567d279f099afe79a81f6ec39754703222280c8c.tar.gz crawl-ref-567d279f099afe79a81f6ec39754703222280c8c.zip |
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3691 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 2605aa2de5..ec23fb5f07 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1477,7 +1477,7 @@ void summon_scorpions(int pow) void summon_ice_beast_etc(int pow, int ibc, bool divine_gift) { int numsc = std::min(2 + (random2(pow) / 4), 6); - beh_type beha = divine_gift? BEH_GOD_GIFT : BEH_FRIENDLY; + beh_type beha = divine_gift ? BEH_GOD_GIFT : BEH_FRIENDLY; switch (ibc) { @@ -1529,7 +1529,7 @@ bool summon_berserker(int pow, bool god_gift) bool success = false; monster_type mon = MONS_TROLL; - + if (pow <= 100) { // bears @@ -1578,7 +1578,7 @@ bool summon_berserker(int pow, bool god_gift) int mons = create_monster( mon, numsc, beha, you.x_pos, you.y_pos, MHITYOU, MONS_PROGRAM_BUG ); - + if (mons != -1) { success = true; @@ -1667,7 +1667,7 @@ bool summon_swarm( int pow, bool unfriendly, bool god_gift ) else if (!unfriendly && random2(pow) > 7) behaviour = BEH_FRIENDLY; - if (create_monster( thing_called, 3, behaviour, + if (create_monster( thing_called, 3, behaviour, you.x_pos, you.y_pos, MHITYOU, MONS_PROGRAM_BUG, false, false, false, true)) { |