mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 20:00:49 +00:00
- Duke: Partially revert edba971b7f
. I need to stop breaking this.
This commit is contained in:
parent
f036e94cca
commit
de1b4765dc
1 changed files with 6 additions and 9 deletions
|
@ -789,17 +789,14 @@ static void FinalizeInput(player_struct *p, InputPacket& input, bool vehicle)
|
||||||
loc.svel = input.svel = 0;
|
loc.svel = input.svel = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p->newOwner != nullptr)
|
if (p->newOwner != nullptr || p->on_crane != nullptr)
|
||||||
{
|
{
|
||||||
if (p->on_crane != nullptr)
|
loc.avel = input.avel = 0;
|
||||||
{
|
}
|
||||||
loc.avel = input.avel = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (p->sync.actions & SB_CENTERVIEW && abs(p->horizon.horiz.asbuild()) > 5)
|
if (p->newOwner != nullptr || (p->sync.actions & SB_CENTERVIEW && abs(p->horizon.horiz.asbuild()) > 5))
|
||||||
{
|
{
|
||||||
loc.horz = input.horz = 0;
|
loc.horz = input.horz = 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue