Fix molotov

This commit is contained in:
Sergeanur 2020-01-13 16:56:47 +02:00
parent 8b57634c78
commit d482f097fe
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ CProjectileInfo::AddProjectile(CEntity *entity, eWeaponType weapon, CVector pos,
{
time = CTimer::GetTimeInMilliseconds() + 2000;
float scale = 0.22f * speed + 0.15f;
if (scale >= 0.2f)
if (scale < 0.2f)
scale = 0.2f;
float angle = Atan2(-ped->GetForward().x, ped->GetForward().y);
matrix.SetTranslate(0.0f, 0.0f, 0.0f);