mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +00:00
- Notify gamesim of maxviewpitch change.
This commit is contained in:
parent
49605bc109
commit
c53a20aea6
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,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)
|
||||
|
|
Loading…
Reference in a new issue