diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-18 01:57:54 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-18 01:57:54 +0100 |
commit | e9a567034818c5e3338120958061e4a4278d97da (patch) | |
tree | 20293ced9c835a859071400fdbb3338b90159846 /src/render/Particle.cpp | |
parent | PreAllocateRwObjects (diff) | |
download | re3-e9a567034818c5e3338120958061e4a4278d97da.tar re3-e9a567034818c5e3338120958061e4a4278d97da.tar.gz re3-e9a567034818c5e3338120958061e4a4278d97da.tar.bz2 re3-e9a567034818c5e3338120958061e4a4278d97da.tar.lz re3-e9a567034818c5e3338120958061e4a4278d97da.tar.xz re3-e9a567034818c5e3338120958061e4a4278d97da.tar.zst re3-e9a567034818c5e3338120958061e4a4278d97da.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Particle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp index 2b19486e..f175c264 100644 --- a/src/render/Particle.cpp +++ b/src/render/Particle.cpp @@ -1570,7 +1570,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) ) { #ifdef PC_PARTICLE if ( (!particleBanned || SCREEN_WIDTH * fParticleScaleLimit >= w) @@ -1650,7 +1650,7 @@ void CParticle::Render() float fRotation; float fTrailLength; - if ( CSprite::CalcScreenCoors(vecPrevPos, particle->m_vecScreenPosition, &fTrailLength, &fRotation, true) ) + if ( CSprite::CalcScreenCoors(vecPrevPos, &particle->m_vecScreenPosition, &fTrailLength, &fRotation, true) ) { CVector2D vecDist ( |