- cleanup of GL renderer interface and improper header use in software renderer.
This commit is contained in:
parent
245a9ef80c
commit
2b2c986bd0
14 changed files with 42 additions and 61 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue