Merge remote-tracking branch 'remotes/ZDoom/gzdoom/staging' into gzd_staging
This commit is contained in:
commit
9e0bf90be6
177 changed files with 4290 additions and 12626 deletions
|
|
@ -598,6 +598,15 @@ void FGameConfigFile::DoGlobalSetup ()
|
|||
var->SetGenericRep(v, CVAR_Float);
|
||||
}
|
||||
}
|
||||
if (last < 225)
|
||||
{
|
||||
if (const auto var = FindCVar("gl_lightmode", NULL))
|
||||
{
|
||||
UCVarValue v = var->GetGenericRep(CVAR_Int);
|
||||
v.Int /= 8; // all legacy modes map to 0, ZDoom software to 1 and Vanilla software to 2.
|
||||
var->SetGenericRep(v, CVAR_Int);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue