- mark gl_maplightmode as a cheat

I've heard from several people since this was put in that this should be marked as a cheat. This PR lets you make the final call on that.
This commit is contained in:
Rachael Alexanderson 2023-12-10 11:47:10 -05:00 committed by Christoph Oelckers
parent f873946bd0
commit 42ab7dd70f

View file

@ -146,7 +146,7 @@ CUSTOM_CVAR(Bool, gl_notexturefill, false, CVAR_NOINITCALL)
}
}
CUSTOM_CVAR(Int, gl_maplightmode, -1, CVAR_NOINITCALL) // this is just for testing. -1 means 'inactive'
CUSTOM_CVAR(Int, gl_maplightmode, -1, CVAR_NOINITCALL | CVAR_CHEAT) // this is just for testing. -1 means 'inactive'
{
if (self > 5 || self < -1) self = -1;
}