mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-28 18:00:40 +00:00
- remove multiplier when finalising player's angle in FinalizeInput()
.
Not sure how this came to be but was causing rather accelerated angle adjustments compared to the stock game.
This commit is contained in:
parent
72bf70811e
commit
2ce612e8ab
1 changed files with 1 additions and 1 deletions
|
@ -1202,7 +1202,7 @@ static void FinalizeInput(int playerNum, input_t& input, bool vehicle)
|
||||||
loc.q16avel += input.q16avel;
|
loc.q16avel += input.q16avel;
|
||||||
if (!synchronized_input)
|
if (!synchronized_input)
|
||||||
{
|
{
|
||||||
p->q16ang = (p->q16ang + input.q16avel * 2) & 0x7FFFFFF; // Why * 2 now?
|
p->q16ang = (p->q16ang + input.q16avel) & 0x7FFFFFF;
|
||||||
|
|
||||||
if (input.q16avel)
|
if (input.q16avel)
|
||||||
p->one_eighty_count = 0;
|
p->one_eighty_count = 0;
|
||||||
|
|
Loading…
Reference in a new issue