diff options
author | majestic <majesticcoding@gmail.com> | 2020-09-30 12:13:32 +0200 |
---|---|---|
committer | majestic <majesticcoding@gmail.com> | 2020-09-30 12:13:32 +0200 |
commit | d4efd003bc614f20074dd4daf96a2a223ff51bea (patch) | |
tree | cde4b80f479c84fe4a164fe3daef1309785f17be /src/render/Particle.cpp | |
parent | Experiment (diff) | |
parent | Merge remote-tracking branch 'origin/master' into miami (diff) | |
download | re3-d4efd003bc614f20074dd4daf96a2a223ff51bea.tar re3-d4efd003bc614f20074dd4daf96a2a223ff51bea.tar.gz re3-d4efd003bc614f20074dd4daf96a2a223ff51bea.tar.bz2 re3-d4efd003bc614f20074dd4daf96a2a223ff51bea.tar.lz re3-d4efd003bc614f20074dd4daf96a2a223ff51bea.tar.xz re3-d4efd003bc614f20074dd4daf96a2a223ff51bea.tar.zst re3-d4efd003bc614f20074dd4daf96a2a223ff51bea.zip |
Diffstat (limited to 'src/render/Particle.cpp')
-rw-r--r-- | src/render/Particle.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp index db40781e..2f0c3809 100644 --- a/src/render/Particle.cpp +++ b/src/render/Particle.cpp @@ -1261,7 +1261,11 @@ void CParticle::Update() { if ( CTimer::GetFrameCounter() & 10 ) { +#ifdef FIX_BUGS + if ( FindPlayerPed() && FindPlayerPed()->GetWeapon()->m_eWeaponType == WEAPONTYPE_MINIGUN ) +#else if ( FindPlayerPed()->GetWeapon()->m_eWeaponType == WEAPONTYPE_MINIGUN ) +#endif { AddParticle(PARTICLE_HEATHAZE, particle->m_vecPosition, CVector(0.0f, 0.0f, 0.0f)); } |