- A_SetPitch now clamps the player's pitch within the valid range. It can

be made to clamp other actors' pitches to within the range (-90,+90)
  degrees with the SPF_FORCECLAMP flag.
- Transmit the local viewpitch limits to the other players.



SVN r3323 (trunk)
This commit is contained in:
Randy Heit 2011-12-06 01:25:37 +00:00
commit b41dbf8a52
11 changed files with 63 additions and 13 deletions

View file

@ -173,7 +173,7 @@ void FSoftwareRenderer::DrawRemainingPlayerSprites()
int FSoftwareRenderer::GetMaxViewPitch(bool down)
{
return down? MAX_DN_ANGLE*ANGLE_1 : -MAX_UP_ANGLE*ANGLE_1;
return down ? MAX_DN_ANGLE : MAX_UP_ANGLE;
}
//==========================================================================