summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-17 19:29:12 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-17 19:29:12 +0000
commitabd777d7d9a9676cddccaceebacc4c4a4e43e657 (patch)
tree592cb35e085630274161cbf33f985abbba8a420b /crawl-ref/source/spells3.cc
parentf434c8054d6d33d594048bcc43e0fdc8b64c0700 (diff)
downloadcrawl-ref-abd777d7d9a9676cddccaceebacc4c4a4e43e657.tar.gz
crawl-ref-abd777d7d9a9676cddccaceebacc4c4a4e43e657.zip
Fix [2722767]: Since Twisted Resurrection creates permanent monsters,
don't set their spell origin, as this will cause an assertion. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9608 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 083bb9ad3a..c0c963b25e 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1114,7 +1114,7 @@ bool cast_twisted_resurrection(int pow, god_type god)
const int monster =
create_monster(
mgen_data(mon, BEH_FRIENDLY,
- 0, SPELL_TWISTED_RESURRECTION,
+ 0, 0,
you.pos(), MHITYOU,
MG_FORCE_BEH, god,
MONS_PROGRAM_BUG, 0, colour));