- actually call the model animation timer somewhere.

Now models also animate properly. :)
This commit is contained in:
Christoph Oelckers 2020-12-02 00:19:22 +01:00
parent 25ef58f897
commit 396e3cd524
3 changed files with 4 additions and 1 deletions

View file

@ -900,6 +900,8 @@ enum EHitBits
kHitSprite = 0xC000,
};
void updateModelInterpolation();
#include "iterators.h"

View file

@ -1676,7 +1676,7 @@ static void mdfree(mdmodel_t *vm)
if (vm->mdnum == 2 || vm->mdnum == 3) { md3free((md3model_t *)vm); return; }
}
static void updateModelInterpolation()
void updateModelInterpolation()
{
// sigh...
omdtims = mdtims;

View file

@ -376,6 +376,7 @@ void Display()
screen->FrameTime = I_msTimeFS();
screen->BeginFrame();
screen->SetSceneRenderTarget(gl_ssao != 0);
updateModelInterpolation();
gi->Render();
DrawFullscreenBlends();
drawMapTitle();