summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-01 10:19:11 +0100
committeraap <aap@papnet.eu>2020-12-01 10:19:11 +0100
commitd545246bbf7d7a2b826638c0e42fd739c00eb8f1 (patch)
tree70b91b22d3f8dd7bee872958231c786c1f83b4e0 /src/vehicles
parentMake texture conversion work a bit faster (diff)
downloadre3-d545246bbf7d7a2b826638c0e42fd739c00eb8f1.tar
re3-d545246bbf7d7a2b826638c0e42fd739c00eb8f1.tar.gz
re3-d545246bbf7d7a2b826638c0e42fd739c00eb8f1.tar.bz2
re3-d545246bbf7d7a2b826638c0e42fd739c00eb8f1.tar.lz
re3-d545246bbf7d7a2b826638c0e42fd739c00eb8f1.tar.xz
re3-d545246bbf7d7a2b826638c0e42fd739c00eb8f1.tar.zst
re3-d545246bbf7d7a2b826638c0e42fd739c00eb8f1.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Plane.cpp2
1 files changed, 1 insertions, 1 deletions
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())){