summaryrefslogtreecommitdiff
path: root/src/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.c')
-rw-r--r--src/sound.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sound.c b/src/sound.c
index 4d574b8..3dc5552 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -51,8 +51,12 @@ static Mix_Chunk* loadMixSound(char *file)
Mix_Chunk *new;
char str[STR_PATH_SIZE];
+
printf("load sound %s..\n", file);
sprintf(str, PATH_SOUND "%s", file);
+
+ accessExistFile(str);
+
new = Mix_LoadWAV(str);
if( new == NULL )