summaryrefslogtreecommitdiff
path: root/src/squelch/condition.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/squelch/condition.cc')
-rw-r--r--src/squelch/condition.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/squelch/condition.cc b/src/squelch/condition.cc
index c3b8c3f5..41806feb 100644
--- a/src/squelch/condition.cc
+++ b/src/squelch/condition.cc
@@ -891,7 +891,7 @@ void SymbolCondition::to_json(json_t *j) const
bool AbilityCondition::is_match(object_type *) const
{
- return has_ability(m_ability_idx);
+ return p_ptr->has_ability(m_ability_idx);
}
std::shared_ptr<Condition> AbilityCondition::from_json(json_t *j)