- cleanup of GL renderer interface and improper header use in software renderer.

This commit is contained in:
Christoph Oelckers 2017-03-16 18:51:54 +01:00
commit 2b2c986bd0
14 changed files with 42 additions and 61 deletions

View file

@ -1115,3 +1115,14 @@ CUSTOM_CVAR(Float, transsouls, 0.75f, CVAR_ARCHIVE)
self = 1.f;
}
}
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();
}
}