mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-19 07:31:03 +00:00
- Exhumed: Properly fix interpolation issues when at the end of the level instead of trying to back up everything.
Revert "- Exhumed: Don't force the framerate to reduce to ticrate at end of each level, instead interpolate player's position to prevent draw errors." This reverts commit57d54a2105
. Revert "- Exhumed: Extend57d54a2105
to back up the player's `bobangle` variable as well at the map's end." This reverts commit520c03b4f1
. Revert "- Exhumed: Extend520c03b4f1
to back up the player's `totalvel` variable as well at the map's end." This reverts commit1446486871
.
This commit is contained in:
parent
f1859c69f0
commit
009c03f430
1 changed files with 1 additions and 4 deletions
|
@ -247,7 +247,7 @@ void DrawClock()
|
|||
|
||||
double calc_smoothratio()
|
||||
{
|
||||
if (bRecord || bPlayback || nFreeze != 0 || paused || cl_capfps || !cl_interpolate)
|
||||
if (bRecord || bPlayback || nFreeze != 0 || paused || cl_capfps || !cl_interpolate || EndLevel)
|
||||
return MaxSmoothRatio;
|
||||
|
||||
return I_GetTimeFrac() * MaxSmoothRatio;
|
||||
|
@ -463,9 +463,6 @@ void GameInterface::Ticker()
|
|||
PlayLocalSound(StaticSound[59], 0, true, CHANF_UI);
|
||||
|
||||
if (EndLevel > 1) EndLevel--;
|
||||
PlayerList[nLocalPlayer].pActor->backuppos();
|
||||
PlayerList[nLocalPlayer].ototalvel = PlayerList[nLocalPlayer].totalvel;
|
||||
obobangle = bobangle;
|
||||
int flash = 7 - abs(EndLevel - 7);
|
||||
videoTintBlood(flash * 30, flash * 30, flash * 30);
|
||||
if (EndLevel == 1)
|
||||
|
|
Loading…
Reference in a new issue