- Fixed: the vid_rendermode CVAR could get wrong values.

This commit is contained in:
drfrag666 2018-12-06 14:50:03 +01:00 committed by Rachael Alexanderson
parent 6362415054
commit cbb5f8a0dc

View file

@ -93,6 +93,11 @@ CUSTOM_CVAR(Int, vid_maxfps, 200, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
CUSTOM_CVAR(Int, vid_rendermode, 4, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
{
if (self < 0 || self > 4)
{
self = 4;
}
if (usergame)
{
// [SP] Update pitch limits to the netgame/gamesim.