summaryrefslogtreecommitdiff
path: root/src/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/spells3.cc')
-rw-r--r--src/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells3.cc b/src/spells3.cc
index 8be13b9d..e209feb1 100644
--- a/src/spells3.cc
+++ b/src/spells3.cc
@@ -503,7 +503,7 @@ casting_result convey_recall()
swap_position(y, x);
return CAST_OBVIOUS;
}
- else if (c_ptr->o_idx > 0)
+ else if (!c_ptr->o_idxs.empty())
{
// Set the target
target_who = -1;