Added FOV Interpolation

This commit is contained in:
Boondorl 2022-12-18 01:04:25 -05:00 committed by Christoph Oelckers
commit 0d4d5587b5
13 changed files with 54 additions and 5 deletions

View file

@ -716,6 +716,13 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, ClearInterpolation, ClearInterpolation)
return 0;
}
DEFINE_ACTION_FUNCTION(AActor, ClearFOVInterpolation)
{
PARAM_SELF_PROLOGUE(AActor);
self->ClearFOVInterpolation();
return 0;
}
static int ApplyDamageFactors(PClassActor *itemcls, int damagetype, int damage, int defdamage)
{
DmgFactors &df = itemcls->ActorInfo()->DamageFactors;