fold already had fold.wav, it just doesn't work.

use fold.ogg for colorandwhite tool instead
This commit is contained in:
secretlondon 2009-06-06 16:52:06 +00:00
parent ec65d2a7e2
commit 99f1f4aeb0
2 changed files with 4 additions and 2 deletions

View file

@ -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);