diff options
author | aap <aap@papnet.eu> | 2020-12-18 13:50:37 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-18 13:50:37 +0100 |
commit | 55cf1a37cbce81db5b32264cfb4ebfa0a9793017 (patch) | |
tree | 9273d77a5fdffc4bc70cf7439fedb7935da024d6 /src/render/Particle.cpp | |
parent | little cleanup and synch on templates and config (diff) | |
parent | Merge pull request #889 from aap/miami (diff) | |
download | re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.gz re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.bz2 re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.lz re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.xz re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.zst re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.zip |
Diffstat (limited to 'src/render/Particle.cpp')
-rw-r--r-- | src/render/Particle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp index ffd3c090..7012f956 100644 --- a/src/render/Particle.cpp +++ b/src/render/Particle.cpp @@ -941,7 +941,7 @@ CParticle *CParticle::AddParticle(tParticleType type, CVector const &vecPos, CVe CVector screen; float w, h; - if ( !CSprite::CalcScreenCoors(vecPos, screen, &w, &h, true) ) + if ( !CSprite::CalcScreenCoors(vecPos, &screen, &w, &h, true) ) return nil; pParticle->m_vecPosition = screen; @@ -2034,7 +2034,7 @@ void CParticle::Render() float w; float h; - if ( CSprite::CalcScreenCoors(particle->m_vecPosition, coors, &w, &h, true) ) + if ( CSprite::CalcScreenCoors(particle->m_vecPosition, &coors, &w, &h, true) ) { if ( i == PARTICLE_ENGINE_STEAM @@ -2189,7 +2189,7 @@ void CParticle::Render() float fTrailLength; CVector vecScreenPosition; - if ( CSprite::CalcScreenCoors(vecPrevPos, vecScreenPosition, &fTrailLength, &fRotation, true) ) + if ( CSprite::CalcScreenCoors(vecPrevPos, &vecScreenPosition, &fTrailLength, &fRotation, true) ) { CVector2D vecDist ( |