mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 12:30:40 +00:00
- Adjust a few setForcedSyncInput()
calls.
This commit is contained in:
parent
fa5490b834
commit
183ad0c61c
3 changed files with 13 additions and 14 deletions
|
@ -2730,6 +2730,12 @@ void processinput_d(int snum)
|
|||
checklook(snum,actions);
|
||||
p->Angles.doViewYaw(&p->sync);
|
||||
|
||||
if (p->centeringView())
|
||||
{
|
||||
p->sync.horz = 0;
|
||||
setForcedSyncInput();
|
||||
}
|
||||
|
||||
if (p->on_crane != nullptr)
|
||||
{
|
||||
setForcedSyncInput();
|
||||
|
@ -2763,12 +2769,6 @@ void processinput_d(int snum)
|
|||
|
||||
p->psectlotag = psectlotag;
|
||||
|
||||
if (p->centeringView())
|
||||
{
|
||||
p->sync.horz = 0;
|
||||
setForcedSyncInput();
|
||||
}
|
||||
|
||||
if (movementBlocked(p))
|
||||
{
|
||||
doubvel = 0;
|
||||
|
|
|
@ -3318,6 +3318,12 @@ void processinput_r(int snum)
|
|||
p->Angles.doViewYaw(&p->sync);
|
||||
p->apply_seasick();
|
||||
|
||||
if (p->centeringView())
|
||||
{
|
||||
p->sync.horz = 0;
|
||||
setForcedSyncInput();
|
||||
}
|
||||
|
||||
if (p->on_crane != nullptr)
|
||||
{
|
||||
setForcedSyncInput();
|
||||
|
@ -3365,12 +3371,6 @@ void processinput_r(int snum)
|
|||
|
||||
p->psectlotag = psectlotag;
|
||||
|
||||
if (p->centeringView())
|
||||
{
|
||||
p->sync.horz = 0;
|
||||
setForcedSyncInput();
|
||||
}
|
||||
|
||||
if (movementBlocked(p))
|
||||
{
|
||||
doubvel = 0;
|
||||
|
|
|
@ -2630,7 +2630,7 @@ void DoPlayerMoveVehicle(PLAYER* pp)
|
|||
pp->setcursector(pp->sop->op_main_sector); // for speed
|
||||
|
||||
double floordist = abs(zz - pp->sop->floor_loz);
|
||||
|
||||
setForcedSyncInput();
|
||||
|
||||
if (RectClip)
|
||||
{
|
||||
|
@ -2684,7 +2684,6 @@ void DoPlayerMoveVehicle(PLAYER* pp)
|
|||
}
|
||||
else
|
||||
{
|
||||
setForcedSyncInput();
|
||||
DoPlayerTurnVehicle(pp, zz, floordist);
|
||||
|
||||
auto save_cstat = plActor->spr.cstat;
|
||||
|
|
Loading…
Reference in a new issue