Show a message if player attempts to access postprocessor hud when postprocessing is disabled

crashfix_debugdraw
Mads Buvik Sandvei 2 years ago
parent ab2931223e
commit 5863790c74

@ -2079,7 +2079,10 @@ namespace MWGui
void WindowManager::togglePostProcessorHud()
{
if (!MWBase::Environment::get().getWorld()->getPostProcessor()->isEnabled())
{
messageBox("Postprocessor is not enabled.");
return;
}
bool visible = mPostProcessorHud->isVisible();

Loading…
Cancel
Save