diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 18:32:03 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 18:32:03 +0100 |
commit | cc94419a7281fde133a5dc17c46cc62ae061a58c (patch) | |
tree | 300a1e3c7d68e1fe32a3ba4491608bf18a1435b2 /src/render/SpecialFX.cpp | |
parent | free cam inversion fix (diff) | |
parent | Get rid of bitfields in CPool (diff) | |
download | re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.gz re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.bz2 re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.lz re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.xz re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.zst re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.zip |
Diffstat (limited to 'src/render/SpecialFX.cpp')
-rw-r--r-- | src/render/SpecialFX.cpp | 2 |
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; } |