- fixed a warning and set NOINITCALL for a few CVARs accessing the current level.
These inits are done at a time when the data isn't even initialized so they will get overwritten anyway.
This commit is contained in:
parent
d5f138f14d
commit
6129f9a9cc
10 changed files with 53 additions and 39 deletions
|
|
@ -46,7 +46,7 @@ FTextureID skyflatnum;
|
|||
|
||||
// [RH] Stretch sky texture if not taller than 128 pixels?
|
||||
// Also now controls capped skies. 0 = normal, 1 = stretched, 2 = capped
|
||||
CUSTOM_CVAR (Int, r_skymode, 2, CVAR_ARCHIVE)
|
||||
CUSTOM_CVAR (Int, r_skymode, 2, CVAR_ARCHIVE|CVAR_NOINITCALL)
|
||||
{
|
||||
R_InitSkyMap ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue