- Make view angles interpolate on a separate flag to the one that forces interpolation for the entire frame.
* As view angles are an offset, there's no reason why these cannot lerp separately.
This commit is contained in:
parent
6594ec0750
commit
9f9c1eb18a
6 changed files with 19 additions and 13 deletions
|
|
@ -3473,7 +3473,7 @@ void AActor::SetViewPitch(DAngle p, int fflags)
|
|||
ViewAngles.Pitch = p;
|
||||
if (player != nullptr && (fflags & SPF_INTERPOLATE))
|
||||
{
|
||||
player->cheats |= CF_INTERPVIEW;
|
||||
player->cheats |= CF_INTERPVIEWANGLES;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3486,7 +3486,7 @@ void AActor::SetViewAngle(DAngle ang, int fflags)
|
|||
ViewAngles.Yaw = ang;
|
||||
if (player != nullptr && (fflags & SPF_INTERPOLATE))
|
||||
{
|
||||
player->cheats |= CF_INTERPVIEW;
|
||||
player->cheats |= CF_INTERPVIEWANGLES;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3499,7 +3499,7 @@ void AActor::SetViewRoll(DAngle r, int fflags)
|
|||
ViewAngles.Roll = r;
|
||||
if (player != nullptr && (fflags & SPF_INTERPOLATE))
|
||||
{
|
||||
player->cheats |= CF_INTERPVIEW;
|
||||
player->cheats |= CF_INTERPVIEWANGLES;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue