summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-07 13:30:23 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-07 13:30:23 +0000
commit4c141c1ed147d2539e0c2c0eba33ad8ac3b9a82a (patch)
treeba6d3890067b41d2e0fb9ca8d53c31b5b93c7c68
parent927b3b498ee1dad707c8ec3f1121640aa435fef6 (diff)
downloadcrawl-ref-4c141c1ed147d2539e0c2c0eba33ad8ac3b9a82a.tar.gz
crawl-ref-4c141c1ed147d2539e0c2c0eba33ad8ac3b9a82a.zip
Fixed yet another off-by-one error.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@357 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/delay.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 78c3f16467..518c0162c2 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -899,7 +899,7 @@ void interrupt_activity( activity_interrupt_type ai,
{
// Do we have a queued run delay? If we do, flush the delay queue
// so that stop running Lua notifications happen.
- for (int j = i + 1; j < size; ++j)
+ for (int j = i; j < size; ++j)
{
if (is_run_delay( you.delay_queue[j].type ))
{