removed unused sound effect

This commit is contained in:
gabbagaps 2022-07-09 20:52:21 +00:00
parent 12fa29e391
commit 6e9961b5cc
1 changed files with 1 additions and 3 deletions

View File

@ -4,7 +4,6 @@ Mix_Chunk * sfx_click = NULL;
Mix_Chunk * sfx_click2 = NULL;
Mix_Chunk * sfx_explosion = NULL;
Mix_Chunk * sfx_win = NULL;
Mix_Chunk * sfx_lose = NULL;
void init_audio()
{
@ -24,7 +23,7 @@ void init_audio()
sfx_click2 = Mix_LoadWAV("resources/click2.wav");
sfx_explosion = Mix_LoadWAV("resources/explosion.wav");
sfx_win = Mix_LoadWAV("resources/win.wav");
sfx_lose = Mix_LoadWAV("resources/lose.wav");
}
void play_audio(int sfx_index)
@ -57,6 +56,5 @@ void audio_destroy()
Mix_FreeChunk(sfx_click2);
Mix_FreeChunk(sfx_explosion);
Mix_FreeChunk(sfx_win);
Mix_FreeChunk(sfx_lose);
Mix_Quit();
}