- 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:
parent
0897a593c7
commit
b41dbf8a52
11 changed files with 63 additions and 13 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue