mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-19 15:40:58 +00:00
- Blood: Repair synchronised input interpolation issues following changes.
This commit is contained in:
parent
24ec58f4e6
commit
01d9877c8c
2 changed files with 3 additions and 3 deletions
|
@ -6026,7 +6026,7 @@ static void actCheckDudes()
|
||||||
if (actor->spr.flags & 32 || !actor->hasX()) continue;
|
if (actor->spr.flags & 32 || !actor->hasX()) continue;
|
||||||
|
|
||||||
auto pSector = actor->sector();
|
auto pSector = actor->sector();
|
||||||
viewBackupSpriteLoc(actor);
|
if (!actor->IsPlayerActor()) viewBackupSpriteLoc(actor);
|
||||||
XSECTOR* pXSector = pSector->hasX() ? &pSector->xs() : nullptr;
|
XSECTOR* pXSector = pSector->hasX() ? &pSector->xs() : nullptr;
|
||||||
|
|
||||||
if (pXSector)
|
if (pXSector)
|
||||||
|
|
|
@ -65,8 +65,8 @@ void viewBackupView(int nPlayer)
|
||||||
pPlayer->obobWidth = pPlayer->bobWidth;
|
pPlayer->obobWidth = pPlayer->bobWidth;
|
||||||
pPlayer->oswayHeight = pPlayer->swayHeight;
|
pPlayer->oswayHeight = pPlayer->swayHeight;
|
||||||
pPlayer->oswayWidth = pPlayer->swayWidth;
|
pPlayer->oswayWidth = pPlayer->swayWidth;
|
||||||
pPlayer->Angles.backupYaw();
|
pPlayer->actor->backuploc();
|
||||||
pPlayer->Angles.backupPitch();
|
pPlayer->actor->interpolated = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue