This commit is contained in:
Christoph Oelckers 2016-12-06 12:59:03 +01:00
commit d04c37101e

View file

@ -39,6 +39,8 @@
#include "w_wad.h"
#include "gi.h"
#include "g_level.h"
#include "doomstat.h"
#include "d_player.h"
#include "gl/system/gl_interface.h"
#include "gl/renderer/gl_renderer.h"
@ -63,6 +65,11 @@ CUSTOM_CVAR(Float, maxviewpitch, 90.f, CVAR_ARCHIVE|CVAR_SERVERINFO)
{
if (self>90.f) self=90.f;
else if (self<-90.f) self=-90.f;
if (usergame)
{
// [SP] Update pitch limits to the netgame/gamesim.
players[consoleplayer].SendPitchLimits();
}
}
CUSTOM_CVAR(Bool, gl_notexturefill, false, 0)