fold already had fold.wav, it just doesn't work.
use fold.ogg for colorandwhite tool instead
This commit is contained in:
parent
ec65d2a7e2
commit
99f1f4aeb0
2 changed files with 4 additions and 2 deletions
|
|
@ -2,6 +2,8 @@
|
|||
//when "folding" same corner many times it gives strange results. Now it's allowed. Let me know
|
||||
//if you think it shouldn't be.
|
||||
|
||||
//sound playing needs fixing.
|
||||
|
||||
#include "tp_magic_api.h"
|
||||
#include "SDL_image.h"
|
||||
#include "SDL_mixer.h"
|
||||
|
|
@ -58,7 +60,7 @@ int fold_init(magic_api * api)
|
|||
{
|
||||
char fname[1024];
|
||||
|
||||
snprintf(fname, sizeof(fname), "%s/sounds/magic/fold.ogg", api->data_directory);
|
||||
snprintf(fname, sizeof(fname), "%s/sounds/magic/fold.wav", api->data_directory);
|
||||
fold_snd = Mix_LoadWAV(fname);
|
||||
|
||||
return(1);
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ static Mix_Chunk * tint_snd_effect[tint_NUM_TOOLS];
|
|||
|
||||
const char * tint_snd_filenames[tint_NUM_TOOLS] = {
|
||||
"tint.wav",
|
||||
"flip.wav" /* FIXME */
|
||||
"fold.ogg" /* FIXME */
|
||||
};
|
||||
const char * tint_icon_filenames[tint_NUM_TOOLS] = {
|
||||
"tint.png",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue