mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-30 04:54:15 +01: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 New Issue
Block a user