From d545246bbf7d7a2b826638c0e42fd739c00eb8f1 Mon Sep 17 00:00:00 2001 From: aap Date: Tue, 1 Dec 2020 10:19:11 +0100 Subject: plane fix --- src/vehicles/Plane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicles/Plane.cpp b/src/vehicles/Plane.cpp index 716ce8d0..620a04fb 100644 --- a/src/vehicles/Plane.cpp +++ b/src/vehicles/Plane.cpp @@ -566,7 +566,7 @@ CPlane::ProcessControl(void) if(mi->m_planeLodId != -1){ m_rwObject = CModelInfo::GetModelInfo(mi->m_planeLodId)->CreateInstance(); if(m_rwObject) - m_matrix.Attach(RwFrameGetMatrix(RpAtomicGetFrame((RpAtomic*)m_rwObject))); + m_matrix.AttachRW(RwFrameGetMatrix(RpAtomicGetFrame((RpAtomic*)m_rwObject))); } } }else if(CStreaming::HasModelLoaded(GetModelIndex())){ -- cgit v1.2.3