mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 22:23:52 +00:00
Show a message if player attempts to access postprocessor hud when postprocessing is disabled
This commit is contained in:
parent
ab2931223e
commit
5863790c74
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue