mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'oops' into 'master'
Fix compile error with camtilt See merge request KartKrew/Kart!214
This commit is contained in:
commit
21f28b27f5
1 changed files with 5 additions and 1 deletions
|
|
@ -7503,7 +7503,11 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
|||
}
|
||||
pitch = thiscam->pitch + (angle_t)FixedMul(pitch - thiscam->pitch, camspeed/4);
|
||||
|
||||
if (rendermode == render_opengl && !cv_grshearing.value)
|
||||
if (rendermode == render_opengl
|
||||
#ifdef GL_SHADERS/* just so we can't possibly forget about it */
|
||||
&& !cv_grshearing.value
|
||||
#endif
|
||||
)
|
||||
distxy = FixedMul(dist, FINECOSINE((pitch>>ANGLETOFINESHIFT) & FINEMASK));
|
||||
else
|
||||
distxy = dist;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue