summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-07 09:04:56 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-07 09:04:56 +0000
commit19cd11e35e3481c93e39c8ed8072c338d0bb4344 (patch)
treec39b12f7e3fe79f01057c24b8fac20bebe774cda /crawl-ref/source
parent403f7b5012b21971a2b3961875881ee6e9d37fe3 (diff)
downloadcrawl-ref-19cd11e35e3481c93e39c8ed8072c338d0bb4344.tar.gz
crawl-ref-19cd11e35e3481c93e39c8ed8072c338d0bb4344.zip
Fixed enchantments not being iterated through.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1246 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/mon-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index bb16c18c50..e8cc6205fd 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -3600,7 +3600,7 @@ void monsters::apply_enchantments(int spd)
const mon_enchant_list ec = enchantments;
for (mon_enchant_list::const_iterator i = ec.begin();
- i != ec.end(); )
+ i != ec.end(); ++i)
{
apply_enchantment(*i, spd);
if (!alive())