Skip to content

Commit

Permalink
Fix transition sound effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Tupakaveli committed Jul 25, 2019
1 parent acb9b19 commit 1e61fe1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified misc/transition.adp
Binary file not shown.
1 change: 1 addition & 0 deletions src/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -2173,6 +2173,7 @@ void guiSetFrameHook(gui_callback_t cback)

void guiSwitchScreen(int target)
{
sfxPlay(SFX_TRANSITION);
transIndex = 0;
screenHandlerTarget = &screenHandlers[target];
}
Expand Down

0 comments on commit 1e61fe1

Please sign in to comment.