summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-20 17:59:33 +0100
committerGitHub <noreply@github.com>2021-01-20 17:59:33 +0100
commit9b193a47a22d99ac89a4bec584d40ae41f971286 (patch)
treebadff7d74ddadf1de18aeb7473cdfc05a175da72 /src/render
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
parentGet rid of VuVector (diff)
downloadre3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.gz
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.bz2
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.lz
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.xz
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.zst
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.zip
Diffstat (limited to 'src/render')
-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 e3d2ffa6..13afadb6 100644
--- a/src/render/SpecialFX.cpp
+++ b/src/render/SpecialFX.cpp
@@ -587,7 +587,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) {
- 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;
}