From 4c141c1ed147d2539e0c2c0eba33ad8ac3b9a82a Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 7 Nov 2006 13:30:23 +0000 Subject: 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 --- crawl-ref/source/delay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )) { -- cgit v1.2.3-54-g00ecf