diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-09-30 01:44:02 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-09-30 01:44:02 +0200 |
commit | f740588780897a2d9d0b29724d617b0eaa9b5025 (patch) | |
tree | 2d9bb7a9ae9d10a2ebfceba7179b47c249b3e19a /src/render/Particle.cpp | |
parent | Population and many small classes done, mouse AUX buttons, Frontend, Hud, fixes (diff) | |
parent | Merge remote-tracking branch 'origin/master' into miami (diff) | |
download | re3-f740588780897a2d9d0b29724d617b0eaa9b5025.tar re3-f740588780897a2d9d0b29724d617b0eaa9b5025.tar.gz re3-f740588780897a2d9d0b29724d617b0eaa9b5025.tar.bz2 re3-f740588780897a2d9d0b29724d617b0eaa9b5025.tar.lz re3-f740588780897a2d9d0b29724d617b0eaa9b5025.tar.xz re3-f740588780897a2d9d0b29724d617b0eaa9b5025.tar.zst re3-f740588780897a2d9d0b29724d617b0eaa9b5025.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)); } |