mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'sal-oglshaderport' of https://git.magicalgirl.moe/STJr/SRB2 into sal-oglshaderport
This commit is contained in:
commit
007b79fc27
1 changed files with 3 additions and 1 deletions
|
|
@ -10162,9 +10162,11 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
||||||
|
|
||||||
if (camorbit) //Sev here, I'm guessing this is where orbital cam lives
|
if (camorbit) //Sev here, I'm guessing this is where orbital cam lives
|
||||||
{
|
{
|
||||||
if (rendermode == render_opengl)
|
#ifdef HWRENDER
|
||||||
|
if (rendermode == render_opengl && !cv_grshearing.value)
|
||||||
distxy = FixedMul(dist, FINECOSINE((focusaiming>>ANGLETOFINESHIFT) & FINEMASK));
|
distxy = FixedMul(dist, FINECOSINE((focusaiming>>ANGLETOFINESHIFT) & FINEMASK));
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
distxy = dist;
|
distxy = dist;
|
||||||
distz = -FixedMul(dist, FINESINE((focusaiming>>ANGLETOFINESHIFT) & FINEMASK)) + slopez;
|
distz = -FixedMul(dist, FINESINE((focusaiming>>ANGLETOFINESHIFT) & FINEMASK)) + slopez;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue