From e8d94cbea327ec3fa11dbbc5d85b18e0b8e0a4f4 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Tue, 4 Nov 2025 15:38:57 -0600 Subject: [PATCH] fix(model): correctly set identity in CM2Model::SetWorldTransform --- src/model/CM2Model.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/model/CM2Model.cpp b/src/model/CM2Model.cpp index c83f9e4..59b25bb 100644 --- a/src/model/CM2Model.cpp +++ b/src/model/CM2Model.cpp @@ -1989,8 +1989,7 @@ void CM2Model::SetVisible(int32_t visible) { } void CM2Model::SetWorldTransform(const C3Vector& position, float orientation, float scale) { - C44Matrix(this->matrixB4); - + this->matrixB4.Identity(); this->matrixB4.RotateAroundZ(orientation); this->matrixB4.Scale(scale); this->matrixB4.d0 = position.x;