mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- missed an 'else'.
This commit is contained in:
parent
647abf040b
commit
d67fcd3887
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ CUSTOM_CVAR(String, adl_custom_bank, "", CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
|||
//Resolve the path here, so that the renderer does not have to do the work itself and only needs to process final names.
|
||||
auto info = sfmanager.FindSoundFont(self, SF_WOPL);
|
||||
if (info == nullptr) adlConfig.adl_custom_bank = nullptr;
|
||||
adlConfig.adl_custom_bank = info->mFilename;
|
||||
else adlConfig.adl_custom_bank = info->mFilename;
|
||||
}
|
||||
|
||||
CUSTOM_CVAR(Int, adl_volume_model, ADLMIDI_VolumeModel_DMX, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||
|
|
Loading…
Reference in a new issue