fix strict complevel vanilla translucency

This commit is contained in:
Roman Fomin 2022-08-03 09:22:08 +07:00
parent 6f701609b3
commit 5c0c7a2a82

View File

@ -1779,7 +1779,7 @@ void D_SetPredefinedTranslucency(void)
if (deh_set_translucency[i])
continue;
if (translucency || (strictmode && !demo_compatibility))
if (STRICTMODE_VANILLA(translucency))
mobjinfo[predefined_translucency[i]].flags |= MF_TRANSLUCENT;
else
mobjinfo[predefined_translucency[i]].flags &= ~MF_TRANSLUCENT;