mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
- Duke: Don't block horz input while returning to center.
* Player still returns to center after a fall or by looking/aiming up/down, but input breaks the return just like the other games. * Fixes #220.
This commit is contained in:
parent
14d41e9984
commit
5f62058020
1 changed files with 1 additions and 1 deletions
|
@ -825,7 +825,7 @@ static void FinalizeInput(int playerNum, InputPacket& input, bool vehicle)
|
||||||
loc.avel = input.avel = 0;
|
loc.avel = input.avel = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p->newOwner == nullptr && !(p->sync.actions & SB_CENTERVIEW))
|
if (p->newOwner == nullptr)
|
||||||
{
|
{
|
||||||
// input.horz already added to loc in processMovement()
|
// input.horz already added to loc in processMovement()
|
||||||
loc.horz = clamp(loc.horz, -MAXHORIZVEL, MAXHORIZVEL);
|
loc.horz = clamp(loc.horz, -MAXHORIZVEL, MAXHORIZVEL);
|
||||||
|
|
Loading…
Reference in a new issue