mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-25 05:11:03 +00:00
Fix Viewmodel FOV not applying to viewent2
This commit is contained in:
parent
598136d69b
commit
bf3a5f8355
1 changed files with 1 additions and 1 deletions
|
@ -1990,7 +1990,7 @@ void R_DrawAliasModel (entity_t *e)
|
|||
|
||||
|
||||
// Special handling of view model to keep FOV from altering look. Pretty good. Not perfect but rather close.
|
||||
if (e == &cl.viewent && scr_fov_viewmodel.value) {
|
||||
if ((e == &cl.viewent || e == &cl.viewent2) && scr_fov_viewmodel.value) {
|
||||
float scale = 1.0f / tan (DEG2RAD (scr_fov.value / 2.0f)) * scr_fov_viewmodel.value / 90.0f;
|
||||
|
||||
const ScePspFVector3 translation = {
|
||||
|
|
Loading…
Reference in a new issue