summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-30 22:49:11 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-30 22:49:11 +0000
commit7228c6fea48a4a72cb69332781bbe5106d09ff2a (patch)
treeee8300d260b639c3681277a4a83f15e8a1847a3b /crawl-ref/source
parentd42f9c618e7bab994fa9cf5c243d6905e5eb29b0 (diff)
downloadcrawl-ref-7228c6fea48a4a72cb69332781bbe5106d09ff2a.tar.gz
crawl-ref-7228c6fea48a4a72cb69332781bbe5106d09ff2a.zip
Add more whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3961 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/mon-util.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index b443219486..2458992f4f 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -4348,20 +4348,20 @@ bool monsters::lose_ench_duration(const mon_enchant &e, int dur)
// Update a monster's enchantments when the player returns
// to the level.
//
-// Management for enchantments... problems with this are the oddities
-// (monster dying from poison several thousands of turns later), and
-// game balance.
+// Management for enchantments... problems with this are the oddities
+// (monster dying from poison several thousands of turns later), and
+// game balance.
//
-// Consider: Poison/Sticky Flame a monster at range and leave, monster
-// dies but can't leave level to get to player (implied game balance of
-// the delayed damage is that the monster could be a danger before
-// it dies). This could be fixed by keeping some monsters active
+// Consider: Poison/Sticky Flame a monster at range and leave, monster
+// dies but can't leave level to get to player (implied game balance of
+// the delayed damage is that the monster could be a danger before
+// it dies). This could be fixed by keeping some monsters active
// off level and allowing them to take stairs (a very serious change).
//
-// Compare this to the current abuse where the player gets
-// effectively extended duration of these effects (although only
-// the actual effects only occur on level, the player can leave
-// and heal up without having the effect disappear).
+// Compare this to the current abuse where the player gets
+// effectively extended duration of these effects (although only
+// the actual effects only occur on level, the player can leave
+// and heal up without having the effect disappear).
//
// This is a simple compromise between the two... the enchantments
// go away, but the effects don't happen off level. -- bwr
@@ -4371,7 +4371,7 @@ void monsters::timeout_enchantments(int levels)
{
if (enchantments.empty())
return;
-
+
const mon_enchant_list ec = enchantments;
for (mon_enchant_list::const_iterator i = ec.begin();
i != ec.end(); ++i)
@@ -4517,7 +4517,7 @@ void monsters::apply_enchantment(const mon_enchant &me)
case ENCH_SLEEP_WARY:
decay_enchantment(me);
break;
-
+
case ENCH_BATTLE_FRENZY:
decay_enchantment(me, false);
break;