diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-09 01:24:48 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-09 01:24:48 +0000 |
commit | cbfad48615cb564ee40c1ceba10f7d2df4caa2a8 (patch) | |
tree | 73397ea0d0334046b593249079671383da55d681 /crawl-ref/source/spl-cast.cc | |
parent | d2fccb02f632f2c70da8d25d6bb90cac62311c3d (diff) | |
download | crawl-ref-cbfad48615cb564ee40c1ceba10f7d2df4caa2a8.tar.gz crawl-ref-cbfad48615cb564ee40c1ceba10f7d2df4caa2a8.zip |
Cleaned up Apportation, fixed a few bugs in it too.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8346 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index b024b30525..f27ad10dae 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -2083,7 +2083,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) break; case SPELL_APPORTATION: - if (cast_apportation(powc) == -1) + if (!cast_apportation(powc, beam.target)) return (SPRET_ABORT); break; |