mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 20:00:01 +00:00
Fix molotov
This commit is contained in:
parent
8b57634c78
commit
d482f097fe
|
@ -88,7 +88,7 @@ CProjectileInfo::AddProjectile(CEntity *entity, eWeaponType weapon, CVector pos,
|
||||||
{
|
{
|
||||||
time = CTimer::GetTimeInMilliseconds() + 2000;
|
time = CTimer::GetTimeInMilliseconds() + 2000;
|
||||||
float scale = 0.22f * speed + 0.15f;
|
float scale = 0.22f * speed + 0.15f;
|
||||||
if (scale >= 0.2f)
|
if (scale < 0.2f)
|
||||||
scale = 0.2f;
|
scale = 0.2f;
|
||||||
float angle = Atan2(-ped->GetForward().x, ped->GetForward().y);
|
float angle = Atan2(-ped->GetForward().x, ped->GetForward().y);
|
||||||
matrix.SetTranslate(0.0f, 0.0f, 0.0f);
|
matrix.SetTranslate(0.0f, 0.0f, 0.0f);
|
||||||
|
|
Loading…
Reference in a new issue