Skip to content

Commit

Permalink
- Blood: Don't attenuate view rolling when swimming.
Browse files Browse the repository at this point in the history
* Blood's input and drag system is much more developed than the other games and further attenuation is not needed here.
  • Loading branch information
mjr4077au committed Sep 25, 2023
1 parent 9ad0af4 commit ce236c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/games/blood/src/actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6054,7 +6054,7 @@ static void actCheckDudes()
nDrag -= Scale(nDrag, (double)actor->xspr.height, 256.);

constexpr auto maxVel = (36211. / 3000.);
pPlayer->Angles.doRollInput(&pPlayer->input, actor->vel.XY(), maxVel, pPlayer->posture == kPostureSwim);
pPlayer->Angles.doRollInput(&pPlayer->input, actor->vel.XY(), maxVel, false);
pPlayer->Angles.StrafeVel -= pPlayer->Angles.StrafeVel * nDrag;
}

Expand Down

0 comments on commit ce236c7

Please sign in to comment.