From abd777d7d9a9676cddccaceebacc4c4a4e43e657 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 17 Apr 2009 19:29:12 +0000 Subject: 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 --- crawl-ref/source/spells3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells3.cc') 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)); -- cgit v1.2.3-54-g00ecf