summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 77aa6e33c5..7427ea6955 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -230,23 +230,12 @@ int cast_smiting(int power)
return (success);
} // end cast_smiting()
-int airstrike(int power)
+int airstrike(int power, dist &beam)
{
bool success = false;
- struct dist beam;
struct monsters *monster = 0; // NULL {dlb}
int hurted = 0;
- mpr("Strike whom?", MSGCH_PROMPT);
-
- direction( beam, DIR_TARGET, TARG_ENEMY );
-
- if (!beam.isValid)
- {
- canned_msg(MSG_OK);
- return (-1);
- }
-
if (mgrd[beam.tx][beam.ty] == NON_MONSTER
|| beam.isMe)
{