summaryrefslogtreecommitdiffstats
path: root/src/render/SpecialFX.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-20 17:59:33 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-20 18:20:11 +0100
commit3b52b683e309a6d8f6f25d29ec5f703984ab2458 (patch)
tree81fb955754110e5dda1d84fde2e95dc26cafe3b3 /src/render/SpecialFX.cpp
parentfree cam inversion fix (diff)
downloadre3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar
re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.gz
re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.bz2
re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.lz
re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.xz
re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.zst
re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.zip
Diffstat (limited to '')
-rw-r--r--src/render/SpecialFX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/SpecialFX.cpp b/src/render/SpecialFX.cpp
index 4eed988d..18e7fd34 100644
--- a/src/render/SpecialFX.cpp
+++ b/src/render/SpecialFX.cpp
@@ -871,7 +871,7 @@ C3dMarkers::PlaceMarker(uint32 identifier, uint16 type, CVector &pos, float size
pMarker->m_Color.alpha = (float)a * 0.4f * someSin + a;
}
if (pMarker->m_nRotateRate != 0) {
- RwV3d pos = pMarker->m_Matrix.m_matrix.pos;
+ CVector pos = pMarker->m_Matrix.GetPosition();
pMarker->m_Matrix.RotateZ(DEGTORAD(pMarker->m_nRotateRate * CTimer::GetTimeStep()));
pMarker->m_Matrix.GetPosition() = pos;
}