From 40b5c43ee7eb9e9d313fa20b54d6bfedae8edc7f Mon Sep 17 00:00:00 2001 From: AdamPlenty <58278560+AdamPlenty@users.noreply.github.com> Date: Thu, 11 Jul 2024 03:23:17 +0100 Subject: [PATCH] Tab hit sound plays again Fixes #3351 --- src/map_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map_events.c b/src/map_events.c index bbcf0cf652..f28398f83e 100644 --- a/src/map_events.c +++ b/src/map_events.c @@ -656,7 +656,7 @@ void maintain_my_event_list(struct Dungeon *dungeon) dungeon->event_button_index[i-1] = curr_ev_idx; dungeon->event_button_index[i] = 0; struct Event* event = &game.event[curr_ev_idx]; - if (!flag_is_set(event->flags,EvF_BtnFirstFall)) + if (any_flag_is_set(event->flags,EvF_BtnFirstFall)) { if ((i == 1) || ((i >= 2) && dungeon->event_button_index[i-2] != 0)) {