summaryrefslogtreecommitdiff
path: root/src/spells3.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-23 18:03:39 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 18:09:16 +0100
commitb64182371884b077d44a038a51d646d7ec8ff3c8 (patch)
tree3676f7eed9566a024a722dd16ee8175a303dc2dd /src/spells3.cc
parent2f608b62a84d7258810824b6f91e29110365cd78 (diff)
Inline set_target into convey_recall() in spells3.cc
Diffstat (limited to 'src/spells3.cc')
-rw-r--r--src/spells3.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/spells3.cc b/src/spells3.cc
index d6e14172..e4f3bfcd 100644
--- a/src/spells3.cc
+++ b/src/spells3.cc
@@ -492,7 +492,11 @@ casting_result convey_recall(int item)
}
else if (c_ptr->o_idx > 0)
{
- set_target(y, x);
+ // Set the target
+ target_who = -1;
+ target_col = x;
+ target_row = y;
+ // Fetch item
if (get_level_s(RECALL, 50) >= 15)
{
fetch(5, 10 + get_level_s(RECALL, 150), FALSE);