- WH: enabled interpolations.

This commit is contained in:
Christoph Oelckers 2021-11-21 23:07:53 +01:00
parent 8b213edf4c
commit 11831b0a26
2 changed files with 6 additions and 0 deletions

View file

@ -670,6 +670,7 @@ void GameInterface::Ticker()
r_NoInterpolate = true;
return;
}
UpdateInterpolations();
for (int i = connecthead; i >= 0; i = connectpoint2[i])
player[i].oldsector = player[i].sector;

View file

@ -39,6 +39,10 @@ void drawscreen(int num, double dasmoothratio, bool sceneonly)
crotscrnang = plr.angle.interpolatedrotscrn(dasmoothratio);
}
DoInterpolations(dasmoothratio / 65536.);
pm_smoothratio = (int)dasmoothratio;
if (plr.over_shoulder_on)
{
sprite[plr.spritenum].cstat |= CSTAT_SPRITE_TRANSLUCENT;
@ -114,6 +118,7 @@ void drawscreen(int num, double dasmoothratio, bool sceneonly)
DrawOverheadMap(cposx, cposy, cang.asbuild(), dasmoothratio);
}
}
RestoreInterpolations();
}
void GameInterface::processSprites(spritetype* tsprite, int& spritesortcnt, int viewx, int viewy, int viewz, binangle viewang, double smoothRatio)