From 8e4ae31e0c0c4723d4da8a31bc2efadc6bf9e736 Mon Sep 17 00:00:00 2001 From: jonschz Date: Sun, 28 Apr 2024 16:00:40 +0200 Subject: [PATCH] 82 percent match --- LEGO1/lego/legoomni/src/actors/skateboard.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/legoomni/src/actors/skateboard.cpp b/LEGO1/lego/legoomni/src/actors/skateboard.cpp index 91e6b9bf..510361bf 100644 --- a/LEGO1/lego/legoomni/src/actors/skateboard.cpp +++ b/LEGO1/lego/legoomni/src/actors/skateboard.cpp @@ -107,10 +107,10 @@ void SkateBoard::FUN_10010510() pMVar2 = CurrentActor(); MxMatrix x = MxMatrix(pMVar2->GetROI()->GetLocal2World()); float** local_48 = (float**)x.GetData(); - float xs = local_48[2][0] * 2.5 + local_48[3][0]; - float y = local_48[3][1] + local_48[2][1] + 0.2; - float z = local_48[3][2] + local_48[2][2] * 2.5; - x.SetTranslation(&xs, &y, &z); + float xs = local_48[2][0] * 2.5; + float y = local_48[2][1] + 0.2; + float z = local_48[2][2] * 2.5; + x.TranslateBy(&xs, &y, &z); AnimationManager()->FUN_10060dc0(IsleScript::c_sns008in_RunAnim, (MxMatrix*)&local_48,'\x01','\0',NULL,0,1,1,'\x01'); } }