- renamed the Customizer to 'Delegate' because this works very much like a delegate in Objective-C.

- route menu sound calls through the delegate to better deal with differences between games.
This commit is contained in:
Christoph Oelckers 2020-10-07 01:00:43 +02:00
parent 603c3b50ec
commit 0968a9d97e
19 changed files with 86 additions and 50 deletions

View file

@ -151,10 +151,10 @@ void DeinitMenus()
}
MenuDescriptors.Clear();
OptionValues.Clear();
if (menuCustomizer)
if (menuDelegate)
{
menuCustomizer->Destroy();
menuCustomizer = nullptr;
menuDelegate->Destroy();
menuDelegate = nullptr;
}
}