summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-27 19:57:56 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-27 19:57:56 +0000
commitda9c4accf8c06831d99a0c1a6e66d20b480c26b0 (patch)
tree2172758653068e6d80a96a723ed332d518056b53 /crawl-ref/source/spl-cast.cc
parent9b41135da821d07d54c7a6ee75ed6dcbd19e9322 (diff)
downloadcrawl-ref-da9c4accf8c06831d99a0c1a6e66d20b480c26b0.tar.gz
crawl-ref-da9c4accf8c06831d99a0c1a6e66d20b480c26b0.zip
Added the Portaled Projectile spell, following 1686312.
Hopefully I didn't break the fsim_ranged code in the process. PP is now arbitrarily stuck into Spatial Translocations; it will be moved out when we add a Book of Archery. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1670 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index ec26318882..9112404f9c 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -1793,6 +1793,11 @@ spret_type your_spells( spell_type spc2, int powc, bool allow_fail )
return (SPRET_ABORT);
break;
+ case SPELL_PORTALED_PROJECTILE:
+ if ( !cast_portaled_projectile(powc, beam) )
+ return SPRET_ABORT;
+ break;
+
default:
mpr("Invalid spell!");
break;