From 4001bfe4a2d2e9532e6a0be019c833bf111fde1f Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Mon, 14 Nov 2022 04:21:08 +0200 Subject: [PATCH] Decomp fixes for CGameCubeDoll --- Runtime/MP1/CGameCubeDoll.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Runtime/MP1/CGameCubeDoll.cpp b/Runtime/MP1/CGameCubeDoll.cpp index f6c7da463..03351dd02 100644 --- a/Runtime/MP1/CGameCubeDoll.cpp +++ b/Runtime/MP1/CGameCubeDoll.cpp @@ -14,8 +14,10 @@ CGameCubeDoll::CGameCubeDoll() { } void CGameCubeDoll::UpdateActorLights() { - x8_lights[0] = CLight::BuildDirectional((zeus::skForward + zeus::skRight * 0.25f + zeus::skDown * 0.1f).normalized(), - zeus::skWhite); + // Game calculates that and does nothing + // (zeus::skForward + zeus::skRight * 0.25f + zeus::skDown * 0.1f).normalized(); + + x8_lights[0] = CLight::BuildDirectional(zeus::skForward, zeus::skWhite); x18_actorLights->BuildFakeLightList(x8_lights, zeus::CColor(0.25f, 1.f)); } @@ -38,6 +40,7 @@ void CGameCubeDoll::Draw(float alpha) { zeus::CTransform::Scale(0.2f)); CModelFlags flags(5, 0, 3, zeus::CColor(1.f, alpha * x1c_fader)); x0_model->Draw(flags); + CGraphics::DisableAllLights(); } void CGameCubeDoll::Touch() {