summaryrefslogtreecommitdiffstats
path: root/src/render/Particle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-12 16:27:26 +0200
committeraap <aap@papnet.eu>2020-05-12 16:27:39 +0200
commit40829b52422cfcd031961fabf60ad99b3ae69ccc (patch)
tree73cb776ada029a62cdc026e35f3fdbcc9c738e8f /src/render/Particle.cpp
parentfix garages (diff)
downloadre3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar
re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.gz
re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.bz2
re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.lz
re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.xz
re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.zst
re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.zip
Diffstat (limited to '')
-rw-r--r--src/render/Particle.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp
index 5995432b..3babbe44 100644
--- a/src/render/Particle.cpp
+++ b/src/render/Particle.cpp
@@ -1542,7 +1542,7 @@ void CParticle::Render()
particle->m_fSize * 63.0f,
particle->m_Color,
particle->m_nColorIntensity,
- (float)particle->m_nRotation, //DEGTORAD((float)particle->m_nRotation) ps2
+ DEGTORAD(particle->m_nRotation),
particle->m_nAlpha);
}
else
@@ -1582,7 +1582,7 @@ void CParticle::Render()
particle->m_Color.blue,
particle->m_nColorIntensity,
1.0f / coors.z,
- float(particle->m_nRotation), // DEGTORAD((float)particle->m_nRotation) ps2
+ DEGTORAD(particle->m_nRotation),
particle->m_nAlpha);
}
else if ( psystem->Flags & SCREEN_TRAIL )
@@ -1635,7 +1635,7 @@ void CParticle::Render()
particle->m_Color.blue,
particle->m_nColorIntensity,
1.0f / coors.z,
- fRotation,
+ DEGTORAD(fRotation),
particle->m_nAlpha);
particle->m_vecScreenPosition = coors;
@@ -1684,7 +1684,7 @@ void CParticle::Render()
particle->m_Color.blue,
particle->m_nColorIntensity,
1.0f / coors.z,
- fRotation,
+ DEGTORAD(fRotation),
particle->m_nAlpha);
}
else if ( psystem->Flags & VERT_TRAIL )