From b9ebabbe8004e6f3cb689e90664e427e2e71896d Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sat, 7 Apr 2007 09:08:31 +0000 Subject: 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 --- crawl-ref/source/mon-util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- cgit v1.2.3-54-g00ecf