*mode* fix
This commit is contained in:
parent
239724a938
commit
cad3bec766
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,8 @@ void FmodEx_Play(byte track, qboolean looping)
|
|||
fmod_loop = looping;
|
||||
fmod_volume = bgmvolume->value;
|
||||
|
||||
FMOD_Sound_Release (fmod_sound);
|
||||
|
||||
sprintf(fmod_file, "%s/music/track%d.flac", com_gamedir, fmod_track);
|
||||
if(fmod_loop == true)
|
||||
fmod_result = FMOD_System_CreateSound (fmod_system, fmod_file,
|
||||
|
@ -53,7 +55,6 @@ void FmodEx_Play(byte track, qboolean looping)
|
|||
if (fmod_result != FMOD_OK)
|
||||
{
|
||||
Con_Printf("FmodEx: Can't load %s!\n", fmod_file);
|
||||
FmodEx_Stop();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue