summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 9eeaa49fc4..13fe97e359 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -273,14 +273,12 @@ int corpse_rot(int power)
place_cloud(CLOUD_MIASMA, adx, ady,
4 + random2avg(16, 3), KC_YOU);
- goto out_of_raise;
+ // Don't look for more corpses here
+ break;
}
hrg = mitm[objl].link;
objl = hrg;
}
-
- out_of_raise:
- objl = 1;
}
}
}