mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-24 08:41:49 +01:00
Fix muzzleflash rotation
This commit is contained in:
parent
478f6e07d4
commit
c5303c2ea4
@ -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 New Issue
Block a user