Use newly added flag

This commit is contained in:
FutureRave 2022-01-14 19:42:03 +00:00
parent 687e3d6e27
commit d7d8949d2a
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -868,7 +868,7 @@ namespace Components
}
// Check for frozen controls. Flag name should start with PMF_
if (CG_ShouldUpdateViewAngles(gamePadIndex) && (clientActive.snap.ps.pm_flags & 0x800) == 0)
if (CG_ShouldUpdateViewAngles(gamePadIndex) && (clientActive.snap.ps.pm_flags & Game::PMF_FROZEN) == 0)
{
Game::AimInput aimInput{};
Game::AimOutput aimOutput{};