From 413483a996805a870f002324ee46cfc123f4df06 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 29 Mar 2020 02:07:46 -0400 Subject: [PATCH] CHudFreeLookInterfaceXRay: Assign free look and control held flags in SetFreeLookState() GM8Ev0 does this. --- Runtime/GuiSys/CHudFreeLookInterface.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Runtime/GuiSys/CHudFreeLookInterface.cpp b/Runtime/GuiSys/CHudFreeLookInterface.cpp index 2a29aa602..75d86e18b 100644 --- a/Runtime/GuiSys/CHudFreeLookInterface.cpp +++ b/Runtime/GuiSys/CHudFreeLookInterface.cpp @@ -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(