mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
13/16 -> 17/20
FUMBLED MY MATH, NEVERMIND
This commit is contained in:
parent
21929bb111
commit
6b0dd78d61
2 changed files with 4 additions and 4 deletions
|
|
@ -9664,9 +9664,9 @@ void P_DoQuakeOffset(UINT8 view, mappoint_t *viewPos, mappoint_t *offset)
|
|||
maxShake = FixedMul(mapheaderinfo[gamemap-1]->cameraHeight, mapobjectscale) * 3 / 4;
|
||||
|
||||
// For 2p SPLITSCREEN SPECIFICALLY:
|
||||
// The view is pretty narrow, so move it back 3/16 of the way towards default camera height.
|
||||
// The view is pretty narrow, so move it back 3/20 of the way towards default camera height.
|
||||
else
|
||||
maxShake = FixedMul((mapheaderinfo[gamemap-1]->cameraHeight*13 + cv_cam_height[view].value*3)/16, mapobjectscale) * 3 / 4;
|
||||
maxShake = FixedMul((mapheaderinfo[gamemap-1]->cameraHeight*17 + cv_cam_height[view].value*3)/20, mapobjectscale) * 3 / 4;
|
||||
}
|
||||
|
||||
if (battle)
|
||||
|
|
|
|||
|
|
@ -3383,10 +3383,10 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
|||
camheight = FixedMul(mapheaderinfo[gamemap-1]->cameraHeight, cameraScale);
|
||||
|
||||
// For 2p SPLITSCREEN SPECIFICALLY:
|
||||
// The view is pretty narrow, so move it back 3/16 of the way towards default camera height.
|
||||
// The view is pretty narrow, so move it back 3/20 of the way towards default camera height.
|
||||
else {
|
||||
// CONS_Printf( "Camera values: %f / %f / %f \n", FixedToFloat(mapheaderinfo[gamemap-1]->cameraHeight), FixedToFloat(cv_cam_height[num].value), FixedToFloat(cameraScale) );
|
||||
camheight = FixedMul((mapheaderinfo[gamemap-1]->cameraHeight*13 + cv_cam_height[num].value*3)/16, cameraScale);
|
||||
camheight = FixedMul((mapheaderinfo[gamemap-1]->cameraHeight*17 + cv_cam_height[num].value*3)/20, cameraScale);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue