diff options
Diffstat (limited to 'src/help.cc')
-rw-r--r-- | src/help.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/help.cc b/src/help.cc index 9b607b66..29ebf033 100644 --- a/src/help.cc +++ b/src/help.cc @@ -325,7 +325,7 @@ static bool_ trigger_fountain(void *in, void *out) { static bool_ trigger_found_object(void *in, void *out) { hook_move_in *p = (hook_move_in *) in; - return cave[p->y][p->x].o_idx != 0; + return !cave[p->y][p->x].o_idxs.empty(); } static bool_ trigger_found_altar(void *in, void *out) { |