mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Blood: fix spin 180 functionality
This commit is contained in:
parent
ae001b6cda
commit
7c1f9d971a
2 changed files with 2 additions and 2 deletions
|
@ -1557,7 +1557,7 @@ void ProcessInput(PLAYER *pPlayer)
|
||||||
speed = 64;
|
speed = 64;
|
||||||
else
|
else
|
||||||
speed = 128;
|
speed = 128;
|
||||||
pPlayer->spin = ClipLow(pPlayer->spin+speed, 0);
|
pPlayer->spin = min(pPlayer->spin+speed, 0);
|
||||||
pPlayer->q16ang += fix16_from_int(speed);
|
pPlayer->q16ang += fix16_from_int(speed);
|
||||||
}
|
}
|
||||||
pPlayer->q16ang = (pPlayer->q16ang+fix16_from_int(pSprite->ang-pPlayer->angold))&0x7ffffff;
|
pPlayer->q16ang = (pPlayer->q16ang+fix16_from_int(pSprite->ang-pPlayer->angold))&0x7ffffff;
|
||||||
|
|
|
@ -380,7 +380,7 @@ void fakeProcessInput(PLAYER *pPlayer, GINPUT *pInput)
|
||||||
else
|
else
|
||||||
speed = 128;
|
speed = 128;
|
||||||
|
|
||||||
predict.at4c = ClipLow(predict.at4c+speed, 0);
|
predict.at4c = min(predict.at4c+speed, 0);
|
||||||
predict.at30 += fix16_from_int(speed);
|
predict.at30 += fix16_from_int(speed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue