From 29173b3199ea526b6f9de13ee9255db3900f3f42 Mon Sep 17 00:00:00 2001 From: oroborus Date: Wed, 30 Apr 2008 19:11:49 +0000 Subject: - program si kontroluje ci existuju subory ktore pouziva git-svn-id: http://opensvn.csie.org/tuxanci_ng@48 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/sound.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sound.c') 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 ) -- cgit v1.2.3