summaryrefslogtreecommitdiff
path: root/src/weapons
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-11-11 00:08:32 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-11 00:08:32 +0300
commitef2089cafbdbd37589d17a4af9e1989f04672777 (patch)
treeb4b1e77e277272a52de8fcca35496cec3f5e337f /src/weapons
parente473123a6aa3769b7aeef54526561c2f1ab32cc1 (diff)
CWorld done
Diffstat (limited to 'src/weapons')
-rw-r--r--src/weapons/ProjectileInfo.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/weapons/ProjectileInfo.cpp b/src/weapons/ProjectileInfo.cpp
index 71cd9cfb..754da5f7 100644
--- a/src/weapons/ProjectileInfo.cpp
+++ b/src/weapons/ProjectileInfo.cpp
@@ -296,10 +296,8 @@ CProjectileInfo::Update()
CParticle::AddParticle(PARTICLE_TEARGAS, projectilePos, CVector(-0.2f, tearGasOffset, 0.0f), 0, 0.0f, 0, 0, 0, 0);
CParticle::AddParticle(PARTICLE_TEARGAS, projectilePos, CVector(tearGasOffset, tearGasOffset, 0.0f), 0, 0.0f, 0, 0, 0, 0);
- // TODO(Miami): SetPedsChoking
- /*if ( CTimer::GetTimeInMilliseconds() & 0x200 )
+ if ( CTimer::GetTimeInMilliseconds() & 0x200 )
CWorld::SetPedsChoking(projectilePos.x, projectilePos.y, projectilePos.z, 6.0f, gaProjectileInfo[i].m_pSource);
- */
}
if (gaProjectileInfo[i].m_eWeaponType == WEAPONTYPE_ROCKET) {