- Implement multitick viewpitch centering logic.
SVN r3512 (trunk)
This commit is contained in:
parent
ee20c2169e
commit
c5a3d846dd
3 changed files with 20 additions and 11 deletions
|
|
@ -2062,14 +2062,7 @@ void Net_DoCommand (int type, BYTE **stream, int player)
|
|||
break;
|
||||
|
||||
case DEM_CENTERVIEW:
|
||||
if (players[player].mo != NULL)
|
||||
{
|
||||
players[player].mo->pitch = 0;
|
||||
}
|
||||
if (player == consoleplayer)
|
||||
{
|
||||
LocalViewPitch = 0;
|
||||
}
|
||||
players[player].centering = true;
|
||||
break;
|
||||
|
||||
case DEM_INVUSEALL:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue