diff options
-rw-r--r-- | crawl-ref/source/spells3.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 4956ef00e1..a63f9758ac 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1167,7 +1167,8 @@ bool recall(char type_recalled) step_value = -1; } - for (loopy = start_count; loopy != end_count; loopy += step_value) + for (loopy = start_count; loopy != end_count + step_value; + loopy += step_value) { monster = &menv[loopy]; |