summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-17 04:09:18 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-17 04:09:18 +0000
commit89ed548fe59c67cdeee3d0ae641b327a1acf8310 (patch)
tree561ae339dd5db81f28fc813837724d13d606976e /crawl-ref/source/spells1.cc
parenta1cb627fe6c5c02821882f00da77c27689d3b4d9 (diff)
downloadcrawl-ref-89ed548fe59c67cdeee3d0ae641b327a1acf8310.tar.gz
crawl-ref-89ed548fe59c67cdeee3d0ae641b327a1acf8310.zip
Fix 1915965, infinite loop identifying identified items with identified scroll of identify, bug and fix identified by sorear.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3681 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 9a4af6bf8e..e3dce0e5d1 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -446,6 +446,7 @@ void identify(int power, int item_slot)
mpr("Choose an unidentified item, or Esc to abort.");
if ( Options.auto_list )
more();
+ item_slot = -1;
continue;
}