Skip to content

Commit

Permalink
Tab hit sound plays again
Browse files Browse the repository at this point in the history
Fixes #3351
  • Loading branch information
AdamPlenty committed Jul 11, 2024
1 parent 52f47a0 commit 40b5c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 40b5c43

Please sign in to comment.