diff --git a/source/build/include/build.h b/source/build/include/build.h index 673dd67cb..68318079d 100644 --- a/source/build/include/build.h +++ b/source/build/include/build.h @@ -900,6 +900,8 @@ enum EHitBits kHitSprite = 0xC000, }; +void updateModelInterpolation(); + #include "iterators.h" diff --git a/source/build/src/mdsprite.cpp b/source/build/src/mdsprite.cpp index 4d4c8b1f0..34f6eb048 100644 --- a/source/build/src/mdsprite.cpp +++ b/source/build/src/mdsprite.cpp @@ -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; diff --git a/source/core/mainloop.cpp b/source/core/mainloop.cpp index 5e464322a..87868ebe8 100644 --- a/source/core/mainloop.cpp +++ b/source/core/mainloop.cpp @@ -376,6 +376,7 @@ void Display() screen->FrameTime = I_msTimeFS(); screen->BeginFrame(); screen->SetSceneRenderTarget(gl_ssao != 0); + updateModelInterpolation(); gi->Render(); DrawFullscreenBlends(); drawMapTitle();