summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-07 09:08:31 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-07 09:08:31 +0000
commitb9ebabbe8004e6f3cb689e90664e427e2e71896d (patch)
treef069bbb2507ffe35c69b580787c5fc6734af680e
parentdb953a4d9b7f7fec468bc461a9efe69a7a9b3f37 (diff)
downloadcrawl-ref-b9ebabbe8004e6f3cb689e90664e427e2e71896d.tar.gz
crawl-ref-b9ebabbe8004e6f3cb689e90664e427e2e71896d.zip
Enchant iter fix for 0.2.3.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.2@1247 c06c8d41-db1a-0410-9941-cceddc491573
-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())