mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- address excessive view swaying in Blood.
It is totally unclear what happened here in the original code, but the info apparently never reached the place where it's being checked. BloodGDX just ignores it so we do now, too.
This commit is contained in:
parent
2f2d0443f2
commit
34bda2c962
1 changed files with 2 additions and 1 deletions
|
@ -1668,7 +1668,8 @@ void playerProcess(PLAYER *pPlayer)
|
|||
{
|
||||
if (pXSprite->height < 256)
|
||||
{
|
||||
bool running = pPlayer->isRunning;
|
||||
// taking a cue from BloodGDX here. Apparently due to poor coding in the original game this could never be true.
|
||||
bool running = false;// pPlayer->isRunning;
|
||||
pPlayer->bobAmp = (pPlayer->bobAmp+pPosture->pace[running]*4) & 2047;
|
||||
pPlayer->swayAmp = (pPlayer->swayAmp+(pPosture->pace[running]*4)/2) & 2047;
|
||||
if (running)
|
||||
|
|
Loading…
Reference in a new issue