mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 20:20:54 +00:00
- fix regression from e474ebc2b7
by which the player could adjust their angle on a camera while cl_syncinput 0
(default) was set.
* Issue doesn't occur with `cl_syncinput 1` because `processinput()` returns when p->newowner >= 0 before `applylook()` is called from within it. * Fixes #96.
This commit is contained in:
parent
41cc5cac34
commit
cb93560a4a
2 changed files with 2 additions and 0 deletions
|
@ -1168,6 +1168,7 @@ static void FinalizeInput(int playerNum, input_t& input, bool vehicle)
|
||||||
|
|
||||||
loc.fvel = loc.svel = 0;
|
loc.fvel = loc.svel = 0;
|
||||||
loc.q16avel = loc.q16horz = 0;
|
loc.q16avel = loc.q16horz = 0;
|
||||||
|
input.q16avel = input.q16horz = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -1075,6 +1075,7 @@ bool movementBlocked(int snum)
|
||||||
p->hard_landing ||
|
p->hard_landing ||
|
||||||
p->access_incs > 0 ||
|
p->access_incs > 0 ||
|
||||||
p->knee_incs > 0 ||
|
p->knee_incs > 0 ||
|
||||||
|
p->newowner >= 0 ||
|
||||||
(blockingweapon() && p->kickback_pic > 1 && p->kickback_pic < weapondelay()));
|
(blockingweapon() && p->kickback_pic > 1 && p->kickback_pic < weapondelay()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue