diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-15 22:18:34 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-15 22:18:34 +0000 |
commit | 1c3415a86cc3ad2e3ab9af953dce5e38ec347d78 (patch) | |
tree | 7e7b1b4d25f9b32b488e2f6665f8205469a84c3d /crawl-ref/source/spl-cast.cc | |
parent | 2a497a24d4c25cb26930fbda6ce3177042a8ed20 (diff) | |
download | crawl-ref-1c3415a86cc3ad2e3ab9af953dce5e38ec347d78.tar.gz crawl-ref-1c3415a86cc3ad2e3ab9af953dce5e38ec347d78.zip |
Fix warning.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9096 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 c89396b689..69e88ec5c0 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1187,7 +1187,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) case SPELL_CRUSH: case SPELL_ARC: if (!burn_freeze(powc, _spell_to_beam_type(spell), - mgrd(you.pos() + spd.delta))) + monster_at(you.pos() + spd.delta))) { return (SPRET_ABORT); } |