little hack to make new postfx not crash

This commit is contained in:
aap 2020-12-27 16:09:01 +01:00
parent 904746054c
commit 5a74495d7b

View File

@ -5375,6 +5375,10 @@ CMenuManager::SwitchMenuOnAndOff()
Initialise(); Initialise();
LoadAllTextures(); LoadAllTextures();
} else { } else {
#ifdef EXTENDED_COLOURFILTER
// we always expect CPostFX to be open
CMBlur::BlurOn = true;
#endif
if (CMBlur::BlurOn) if (CMBlur::BlurOn)
CMBlur::MotionBlurOpen(Scene.camera); CMBlur::MotionBlurOpen(Scene.camera);
else else