mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 06:06:06 +00:00
Fix muzzleflash rotation
This commit is contained in:
parent
478f6e07d4
commit
c5303c2ea4
1 changed files with 4 additions and 0 deletions
|
@ -1066,7 +1066,11 @@ CWeapon::FireInstantHit(CEntity *shooter, CVector *fireSource)
|
||||||
|
|
||||||
if ( info->m_nFiringRate >= 50 || !(++counter & 1) )
|
if ( info->m_nFiringRate >= 50 || !(++counter & 1) )
|
||||||
{
|
{
|
||||||
|
#ifdef FIX_BUGS
|
||||||
|
AddGunFlashBigGuns(*fireSource, target);
|
||||||
|
#else
|
||||||
AddGunFlashBigGuns(*fireSource, *fireSource + target);
|
AddGunFlashBigGuns(*fireSource, *fireSource + target);
|
||||||
|
#endif
|
||||||
|
|
||||||
CVector gunshellPos = *fireSource;
|
CVector gunshellPos = *fireSource;
|
||||||
gunshellPos -= CVector(0.65f*ahead.x, 0.65f*ahead.y, 0.0f);
|
gunshellPos -= CVector(0.65f*ahead.x, 0.65f*ahead.y, 0.0f);
|
||||||
|
|
Loading…
Reference in a new issue