diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-14 08:50:55 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-14 08:50:55 -0500 |
commit | 7076929590e3b676f34e0db6be08124512a3e5a9 (patch) | |
tree | ad8453c9905611dda927a34c6311bd9ca363b451 /crawl-ref | |
parent | c4e7e2eae39db0f26e3106d09bcd90298fa739ab (diff) | |
download | crawl-ref-7076929590e3b676f34e0db6be08124512a3e5a9.tar.gz crawl-ref-7076929590e3b676f34e0db6be08124512a3e5a9.zip |
Add minor cosmetic fixes.
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 32fd1288a5..84c0bbdf60 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -7737,17 +7737,17 @@ void monsters::apply_enchantment(const mon_enchant &me) } break; - case ENCH_GLOWING_SHAPESHIFTER: // This ench never runs out! + case ENCH_GLOWING_SHAPESHIFTER: // This ench never runs out! // Number of actions is fine for shapeshifters. // Don't change shape while taking the stairs because - // monster_polymorph has an assert about it -cao + // monster_polymorph has an assert about it. -cao if (!(this->flags & MF_TAKING_STAIRS) && (type == MONS_GLOWING_SHAPESHIFTER || one_chance_in(4))) monster_polymorph(this, RANDOM_MONSTER); break; - case ENCH_SHAPESHIFTER: // This ench never runs out! + case ENCH_SHAPESHIFTER: // This ench never runs out! if (!(this->flags & MF_TAKING_STAIRS) && (type == MONS_SHAPESHIFTER || x_chance_in_y(1000 / (15 * hit_dice / 5), 1000))) @@ -7758,7 +7758,7 @@ void monsters::apply_enchantment(const mon_enchant &me) case ENCH_TP: if (decay_enchantment(me, true)) - monster_teleport( this, true ); + monster_teleport(this, true); break; case ENCH_SLEEPY: |