CHudFreeLookInterfaceXRay: Assign free look and control held flags in SetFreeLookState()

GM8Ev0 does this.
This commit is contained in:
Lioncash 2020-03-29 02:07:46 -04:00
parent ad07b993c8
commit 413483a996
1 changed files with 3 additions and 0 deletions

View File

@ -133,6 +133,9 @@ void CHudFreeLookInterfaceXRay::SetIsVisibleGame(bool v) {
void CHudFreeLookInterfaceXRay::SetFreeLookState(bool inFreeLook, bool lookControlHeld, bool lockedOnObj,
float vertLookAngle) {
x20_inFreeLook = inFreeLook;
x21_lookControlHeld = lookControlHeld;
x2c_model_freelookleft->SetLocalTransform(
zeus::CTransform(zeus::CMatrix3f::RotateY(vertLookAngle), x4_freeLookLeftPos));
x30_model_freelookright->SetLocalTransform(