Removed error checking from magic tools as it was causing problems with --nosound
This commit is contained in:
parent
a60c242972
commit
a0cd6daeb5
8 changed files with 10 additions and 24 deletions
|
|
@ -84,9 +84,6 @@ int tint_init(magic_api * api){
|
|||
for (i = 0; i < tint_NUM_TOOLS; i++){
|
||||
snprintf(fname, sizeof(fname), "%s/sounds/magic/%s", api->data_directory, tint_snd_filenames[i]);
|
||||
tint_snd_effect[i] = Mix_LoadWAV(fname);
|
||||
if (tint_snd_effect[i] == NULL){
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
return(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue