From f84f626421a8b573fe186007f5a729cf96d32a18 Mon Sep 17 00:00:00 2001 From: Greavesy1899 Date: Fri, 27 Oct 2023 16:56:13 +0100 Subject: [PATCH] Actors: Minor fix for light matrix --- Mafia2Libs/ResourceTypes/FileTypes/Actors/ActorTypes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mafia2Libs/ResourceTypes/FileTypes/Actors/ActorTypes.cs b/Mafia2Libs/ResourceTypes/FileTypes/Actors/ActorTypes.cs index f7a2d331..5db7c133 100644 --- a/Mafia2Libs/ResourceTypes/FileTypes/Actors/ActorTypes.cs +++ b/Mafia2Libs/ResourceTypes/FileTypes/Actors/ActorTypes.cs @@ -831,7 +831,7 @@ public Quaternion UnkMatrix1Quaternion { get { return uMatrix1Quat; } set { uMatrix1Quat = value; - var translation = uMatrix0.Translation; + var translation = uMatrix1.Translation; uMatrix1 = Matrix4x4.CreateFromQuaternion(uMatrix1Quat); uMatrix1.Translation = translation; }