Merge pull request #46 from tmyqlfpir/force-anim-lerp

Always interpolate character animations
This commit is contained in:
fgsfds 2023-08-20 15:15:00 +02:00 committed by GitHub
commit 24bfac89ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -2730,6 +2730,9 @@ s32 chrTick(struct prop *prop)
f32 prevfrac2;
s32 prevframe2a;
#ifndef PLATFORM_N64 // always interpolate animation
anim = model->anim;
#else
if (g_Vars.normmplayerisrunning) {
if (g_MpSetup.options & (MPOPTION_SLOWMOTION_ON | MPOPTION_SLOWMOTION_SMART)) {
limit = 2000 * 2000;
@ -2775,6 +2778,7 @@ s32 chrTick(struct prop *prop)
}
}
}
#endif
modelSetMatricesWithAnim(&sp210, model);