mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- maxviewpitch now affects the 2.5D software renderer
This commit is contained in:
parent
cd2a349c36
commit
28af2fe66b
1 changed files with 2 additions and 2 deletions
|
@ -251,8 +251,8 @@ void FSoftwareRenderer::DrawRemainingPlayerSprites()
|
|||
|
||||
int FSoftwareRenderer::GetMaxViewPitch(bool down)
|
||||
{
|
||||
const int MAX_DN_ANGLE = 56; // Max looking down angle
|
||||
const int MAX_UP_ANGLE = 32; // Max looking up angle
|
||||
int MAX_DN_ANGLE = MIN(56, (int)maxviewpitch); // Max looking down angle
|
||||
int MAX_UP_ANGLE = MIN(32, (int)maxviewpitch); // Max looking up angle
|
||||
return (r_polyrenderer) ? int(maxviewpitch) : (down ? MAX_DN_ANGLE : ((cl_oldfreelooklimit) ? MAX_UP_ANGLE : MAX_DN_ANGLE));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue