mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Camerascale fix to apply to more stuff.
This commit is contained in:
parent
643daa3394
commit
1c737f33c5
1 changed files with 4 additions and 2 deletions
|
@ -8374,7 +8374,7 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
|||
camspeed = cv_cam_speed.value;
|
||||
camstill = cv_cam_still.value;
|
||||
camrotate = cv_cam_rotate.value;
|
||||
camdist = FixedMul(cv_cam_dist.value, FixedMul(player->camerascale, mo->scale));
|
||||
camdist = FixedMul(cv_cam_dist.value, mo->scale);
|
||||
camheight = FixedMul(cv_cam_height.value, FixedMul(player->camerascale, mo->scale));
|
||||
}
|
||||
else // Camera 2
|
||||
|
@ -8382,7 +8382,7 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
|||
camspeed = cv_cam2_speed.value;
|
||||
camstill = cv_cam2_still.value;
|
||||
camrotate = cv_cam2_rotate.value;
|
||||
camdist = FixedMul(cv_cam2_dist.value, FixedMul(player->camerascale, mo->scale));
|
||||
camdist = FixedMul(cv_cam2_dist.value, mo->scale);
|
||||
camheight = FixedMul(cv_cam2_height.value, FixedMul(player->camerascale, mo->scale));
|
||||
}
|
||||
|
||||
|
@ -8497,6 +8497,8 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
|||
dist <<= 1;
|
||||
}
|
||||
|
||||
dist = FixedMul(dist, player->camerascale);
|
||||
|
||||
checkdist = dist;
|
||||
|
||||
if (checkdist < 128*FRACUNIT)
|
||||
|
|
Loading…
Reference in a new issue