diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 20:10:23 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 20:10:23 +0200 |
commit | f7d5021ac59026435165e97aba869a76cfef1059 (patch) | |
tree | 1a57b2e0491be1505f20f99aa38e84232619b53a /src/render/Particle.cpp | |
parent | Fix coronas reflections (diff) | |
download | re3-f7d5021ac59026435165e97aba869a76cfef1059.tar re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.gz re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.bz2 re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.lz re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.xz re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.zst re3-f7d5021ac59026435165e97aba869a76cfef1059.zip |
Diffstat (limited to '')
-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)); } |